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 Apps
Answered

OnVideoEnd

(0) ShareShare
ReportReport
Posted on by 339

Hello there,

 

I want a button to be visible after a video ends.

I am trying to user on that video OnEnd the following:

Button1.Visible = true

 

But it isn't working.

Any help?

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,621 Most Valuable Professional on at

    The problem is that PowerApps is a declarative programming system, not a procedural one.  So you can't change properties on objects directly as a result of event actions.  Here's teh way to do what you want.

    1. Use the OnStart and OnEnd methods of the video to set the value of a variable, like 'Set(VideoPlaying, false)' OnEnd and 'Set(VideoPlaying, true)' OnStart
    2. Create two rules that test whether VideoPlaying is false or true.  When false set the button to visible and when true set the button to not visible.

    OnStart and OnEnd can be used to set the value of a variable and then the conditional rules will change the state of the button appropriately.

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Field ,

    I agree with @Pstork1 's thought almost. Currently, within PowerApps, we could not change/assign the property value of another control within current control.

     

    Based on the needs that you mentioned, I think a variable could achieve your needs. I have made a test on my side, please take a try with the following workaround:3.JPG

     

    4.JPG

    Set the OnVisible property of the screen to following:

    Set(IsShowButton, false)

    Set the OnEnd property of the Video control to following:

    Set(IsShowButton, true)

    Set the Visible property of the Button control to following:

    If(IsShowButton, true, false)

    Please take a try with above solution, then check if the issue is solved.

     

    Best regards,

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 421 Most Valuable Professional

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard