web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / how to add variable in...
Power Apps
Unanswered

how to add variable in media of video player

(0) ShareShare
ReportReport
Posted on by

i have 2 front end screen

in 1st screen i have added media player.

in 2nd screen i added inputbox with button.

here in input box user will enter url link of media in double quote as : "https://youtu.be/OwOWDXteakM"

and in submit button i have added below code.

Set(NewURL,TextInput1.Text)

and in media player -media properties added as NewURL.

but nothing it showing any idea what was wrong in my code.

Categories:
I have the same question (0)
  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @venky232 ,

     

    There is nothing wrong with your code, but the URL doesn't need double quotes in TextInput.

    vdezhilimsft_0-1677477887884.png

     

    Best Regards,

    Dezhi

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard