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 / Media - Video - Youtub...
Power Apps
Answered

Media - Video - Youtube No Audio

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I'm currently building a remote induction app through powerapps as due to the current coronavirus pandemic, we can't hold our required face to face inductions.

 

I have successfully built the app to run through several YouTube videos and it works mostly fine, except that randomly, audio doesn't work for the YouTube videos. Sometimes, I have audio and it works perfectly, others I cannot get audio out whatsoever. I need to ensure Audio works for this induction.

 

Any ideas on why audio is temperamental? 

Categories:
I have the same question (0)
  • Mr-Dang-MSFT Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Can you share more about your setup?

    • Are the videos public/unlisted/private? 
    • Have you tried with another device?
    • What is the experience in a browser vs. mobile?
    • What version is your app in Power Apps? What version is Power Apps on your mobile device?
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    Apologies for the lack of information! I have provided the answers here:

     

    1. For testing, I have used one of my companies public videos but will be moving to unlisted once the videos have been made and uploaded.

    2. IOS seems to run okay, in browsers seems to be the only place the problem occurs. Both Microsoft Edge and Google Chrome have the issue. In fact, in chrome the audio has never worked. Edge is occasional.

    3. See above. 

    4. Browser: 3.20073.20, IOS 3.20073.19

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    So a further update:

     

    I have looked at the Youtube API for Embedded videos(https://developers.google.com/youtube/player_parameters) and found the I can solve the sound issue by adding

     

    ?mute=0 

     

     to the end of the Video URL. This has improved reliability of audio playback to near 100% in both Chrome and Edge. However, this has now introduced a problem where none of the Properties in PowerApps work.

     

    I had the Autoplay function set to 'true', the video now no longer automatically plays, I also had the OnEnd function to automatically go to the next screen on completion but this also no longer works. It's starting to seem like a bug in PowerApps!

     

    Any ideas?

     

    Edit: I have tried the URL with the following Format's:

     

    "https://www.youtube.com/embed/***videoID***?rel=0&mute=0" - This works as expected but Audio is sporadic

    "https://www.youtube,com/watch?v=***VideoID***?mute=0" which has greater reliability with regards to audio playback but cause the issues mentioned above with Autoplay and OnEnd.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Okay, so I believe I have found what has been causing the issue and a work around.

     

    The Cause 

    When 'ShowControls' is set to false - Randomly the video gets muted and as show controls isn't showing, you can't unmute or set the volume. I need the user to not be able to use the controls as due to it being an induction process, they mustn't be able to skip any of the content. 

     

    The Workaround 

    To resolve this issue, I have set 'ShowControls' to 'true' and then 'DisplayMode' to 'Disabled'. This solves the issue with random muting, prevent any skipping of the video and allows the OnEnd and AutoStart functions to run properly. 

     

    The Workaround Problem

    While the above works, I would still like the user to be able to pause the video which with 'ShowControls' set to 'false' was still possible but with 'DisplayMode' set to 'Disabled' is not. It's not ideal, but it will work for now! 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I want a services like that gives descargar videos de youtube gratis in the language of spanish that I should use to convert the music in my daily life.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    you can add a button to start and stop the video.

    Button.OnSelect: If(varPlay = true, UpdateContext({varPlay: false}), UpdateContext({varPlay: false}))

    Video.Start: varPlay

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 396 Most Valuable Professional

#2
11manish Profile Picture

11manish 134 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 101 Super User 2026 Season 2

Last 30 days Overall leaderboard