Forum Discussion

thyjones's avatar
thyjones
Icon for Helper I rankHelper I
5 years ago
Solved

Embedded Youtube Video in Dashboard - auto play

Hi All,

 

I have embedded a youtube video in a tile for a dashboard. This works fine but i was aiming for the video to autoplay.

 

Is there any way to do this without clicking it? I've even tried adding the addtional youtube code for auto play, but this makes no difference.

 

Thanks

 

7 Replies

  • HI thyjones ,

     

    At this time, there is no way to get it to autoplay.  However, this sounds like a great idea to create (or find).  If you create one, let us know and we can vote for it.  Ideas (powerbi.com)

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi thyjones ,

     

    According to my test, at this stage we have not been able to successfully embed YouTube hosted videos.

     

    But as a workaround,you could use create a video content from Vimeo via htmlViewer visual in Power BI Desktop

    The necessary code is ?autoplay=1 and allow="autoplay"

     

    Here is the example code:

     

    <iframe src="https://player.vimeo.com/video/76979871?autoplay=1" width="640" height="360" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>

     

    Then publish the report to service ,pin the visual to dashboard, the video could auto play.

     

     

    Refer to :

    How to Create, Host and Embed Videos in Power BI &mdash; DiscoverEI

    Autoplaying and looping embedded videos &ndash; Vimeo Help Center

     

    Best Regards,
    Eyelyn Qin
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi thyjones ,

     

    I tested again with your code, but it seems not work...

    <iframe width="420" height="345" src="https://www.youtube.com/embed/XXv13mkjV2Y?autoplay=1"></iframe>

    Could you tell me where I made a mistake?🤔

     

    Best Regards,
    Eyelyn Qin

  • Anonymous's avatar
    Anonymous
    Not applicable

    Sorry, the video content is black on my side until now.Could you describe the steps in detail so that I will have a try again.

     

    By the way, could you please mark my apply uploaded at the beginning as the solution as well if it helps you a little? Thanks in advance!

     

    Best Regards,
    Eyelyn Qin