嵌入的方式有两种
方式一:JS的方法控制播放
方法二:iframe
<iframe id="ytplayer" type="text/html" width="720" height="405"
src="https://www.youtube.com/embed/_NxrnmLoiWY?autoplay=1"
frameborder="0" allowfullscreen>
把视频ID换成自己的,就可以了
Api文档:https://developers.google.com/youtube/youtube_player_demo