Forum Discussion

HersonD's avatar
HersonD
Helper I
1 year ago
Solved

Embed Video in Power BI Report

Hi,

 

I want to embed videos in my power BI report and share it to public. Is it possible?

  • Did you tried Use Direct Video File Links from Vimeo

     

    Vimeo video settings > Distribution > Video File Links.

    .

    • Copy the direct video file link (e.g., `.mp4` format) for your desired resolution.
    • Wrap this link in an HTML `<video>` tag with playback controls:

     

    <video width="100%" controls>
    <source src="https://player.vimeo.com/external/YOUR_VIDEO_LINK.mp4" type="video/mp4">

     

    </video>
    Your browser does not support the video tag.

     

    Direct video file links are only available to Vimeo Pro, Premium, and Business account holders

     

    The HTML Content visual often struggles with iframe-based embeds due to sandboxing restrictions in Power BI.


  • Hi HersonD 

    Most embedded video services' iframe like YouTube is sandboxed  and lacks the allow-same-origin flag. Vimeo, as far as I know, allows this so you might want to try your luck with that. This YouTube video discusses this common scenario in detail and some workarounds https://www.youtube.com/watch?v=H8PsruURpCg

     

     

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi HersonD ,

     

    As mentioned in the responses by nilendraFabric and danextian, have you tried adding a "Web Content" tile to your Power BI dashboard and pasting the video URL? If you are using a custom visual, have you properly created a measure? Please ensure that the video link is publicly accessible and supports embedding. If using Vimeo, make sure the video's privacy settings allow embedding on external websites (such as Power BI). If the above methods still do not resolve the issue, consider adding a video link to the report, which users can click to navigate to the video playback page.

     

    Best Regards,

    Neeko Tang

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

9 Replies

  • Hello HersonD 

     

    Depending on where your video is:

     

    HTML Content Custom Visual
    • Use the “HTML Content” custom visual from the Power BI Visuals Marketplace.
    • Add your video link (e.g., YouTube, Vimeo, or self-hosted) wrapped in HTML iframe code to your dataset.
    • Drag the HTML content field into the visual to display the video.
    • Note: Videos will only play in the Power BI Service (online) and not in Power BI Desktop.

     


    2. Web Content Tile for Dashboards
    • In Power BI dashboards, you can add a “Web Content” tile and paste a video URL (e.g., YouTube or Vimeo).
    • This approach works for embedding videos from platforms like Microsoft Stream or other hosting services

    https://m.youtube.com/watch?v=r31cw7I05E0


    https://www.discoverei.com/blog/how-to-embed-videos-in-power-bi

    https://community.fabric.microsoft.com/t5/Desktop/How-do-I-embed-a-Stream-video-in-Power-BI-service/td-p/3029495

     

    https://databear.com/embedding-a-stream-video-in-power-bi-service

     

     

    Use the “Publish to Web” feature in Power BI Service. This generates an embed code or public link that anyone can access without requiring a Power BI account

     

    If this is helpful please accept the answer and give kudos.

     

     

     

  • Not just thumbnail, the video itself does not play. There are no play buttons either, It just appears like an image, not a video.

    • nilendraFabric's avatar
      nilendraFabric
      Super User

      Did you tried Use Direct Video File Links from Vimeo

       

      Vimeo video settings > Distribution > Video File Links.

      .

      • Copy the direct video file link (e.g., `.mp4` format) for your desired resolution.
      • Wrap this link in an HTML `<video>` tag with playback controls:

       

      <video width="100%" controls>
      <source src="https://player.vimeo.com/external/YOUR_VIDEO_LINK.mp4" type="video/mp4">

       

      </video>
      Your browser does not support the video tag.

       

      Direct video file links are only available to Vimeo Pro, Premium, and Business account holders

       

      The HTML Content visual often struggles with iframe-based embeds due to sandboxing restrictions in Power BI.


  • Hi HersonD 

    Most embedded video services' iframe like YouTube is sandboxed  and lacks the allow-same-origin flag. Vimeo, as far as I know, allows this so you might want to try your luck with that. This YouTube video discusses this common scenario in detail and some workarounds https://www.youtube.com/watch?v=H8PsruURpCg

     

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi HersonD ,

     

    As mentioned in the responses by nilendraFabric and danextian, have you tried adding a "Web Content" tile to your Power BI dashboard and pasting the video URL? If you are using a custom visual, have you properly created a measure? Please ensure that the video link is publicly accessible and supports embedding. If using Vimeo, make sure the video's privacy settings allow embedding on external websites (such as Power BI). If the above methods still do not resolve the issue, consider adding a video link to the report, which users can click to navigate to the video playback page.

     

    Best Regards,

    Neeko Tang

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

  • BrunoT's avatar
    BrunoT
    Frequent Visitor

    Hi, I got the same need but I cannot use HTML Content custom widgets because it is not certified and the lite version is not working (i suppose due to the fact that is does not support external contents). A solution could be embedding a power app (I have already developed it) but i don't know how to pass the full list of videos (that must switch while selecting values on switches in pages), any Idea?

  • Okay so, I am a bit late to the party but none of the suggestions here worked for me. So I explored a bit more and tried a different approach. I did not want to use Power BI service as I wanted the video to be displayed on the report and not just the dashboard.

    1. I clicked the power apps visual and added it to the Power BI report. Now Double click the visual to navigae to the web version.
    2. Create a blank canvas app and embed the video into a blank canvas app. 
    3. Publish the power app and voila, this should reflect in the report
    4. Should you want to change the timestamp dynamically, this can be done through datawell feature in Power BI integrated Power Apps as well.