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 / Changing the media lin...
Power Apps
Unanswered

Changing the media link/value with click of button

(0) ShareShare
ReportReport
Posted on by 28

I have a page that has a media player, along the side of the page I have various buttons. Is it possible to have the video players media value change as different buttons are pressed or does each button need its own video player. ie. Intro button changes the value to show a youtube videos with introduction to topic. The background button will change the media value to show a youtube video of the background of the topic. etc. 

 

Thanks in advance

Categories:
  • LaurensM Profile Picture
    12,516 Moderator on at

    Hi @satkdev,

     

    That is possible by storing the YouTube link in a variable. In the OnVisible of that screen you may want to default the variable value to the intro video link:

    Set(varVideo, "IntroLinkHere")

     

    Each button on your page will set the variable to the corresponding link via the OnSelect:

    Set(varVideo, "LinkRelatedToThisButton")

     

    The Media property of the Video control will simply be:

    varVideo

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard