Can a youtube video be embedded in html via publish?
2 ビュー (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
採用された回答
Alberto
2014 年 9 月 24 日
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>
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!