Can a youtube video be embedded in html via publish?

I'd like to publish an example file with a youtube video in it. I don't see a clear way to do this, and I've tinkered around a bit to no avail. Any clever ideas out there?

 采纳的回答

Here is a how-to example; try publishing this code:
%%HTML + Youtube
% <html>
% <iframe id="ytplayer" type="text/html" width="640" height="390"
% src="http://www.youtube.com/embed/M7lc1UVf-VE?autoplay=0"
% frameborder="0"/>
% </html>

2 个评论

Alberto, that's perfect! Thank you!
Your ideas can be seen in action here. Thanks again Alberto.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB Report Generator 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by