How do I play a youtube video in MATLAB App designer using HTML?

8 views (last 30 days)
I am trying to embed and play a Youtube video using the HTML Component in the App Designer but am unable to do so. Is this even possible with the current 2020a release?
  8 Comments
Mohammad Sami
Mohammad Sami on 15 Jun 2021
The limitations are specified in the documentation.
https://www.mathworks.com/help/matlab/ref/uihtml.html
IFM
IFM on 14 Apr 2023
Did you ever find a work around? I am looking to do the same thing.

Sign in to comment.

Answers (1)

Rushikesh
Rushikesh on 11 Oct 2024
As of now, MATLAB R2020a does not support embedding of external web page such as youtube videos in html component. As mentioned in MATLAB Documentation.
One possible workaround is to download the video locally that you want to play as embedded and place it in same or sub folder of your HTML file. Then reference that video from you HTML file.

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!