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

8 次查看(过去 30 天)
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 个评论
Mohammad Sami
Mohammad Sami 2021-6-15
The limitations are specified in the documentation.
https://www.mathworks.com/help/matlab/ref/uihtml.html
IFM
IFM 2023-4-14
Did you ever find a work around? I am looking to do the same thing.

请先登录,再进行评论。

回答(1 个)

Rushikesh
Rushikesh 2024-10-11
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.

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by