2013年3月21日 星期四

Youtube 播放清單 嵌入參數

<iframe width="560" height="315" src="http://www.youtube.com/embed/videoseries?list=PLOvuS9wUKmZUnbgcLZc5UnmKbnYsrcZCz&autoplay=1&index=7" frameborder="0" allowfullscreen></iframe>

&autoplay=1:是自動播放

&index=7:從index=7開始播放

參考來源:Embedding Youtube playlist but starting from random video
延伸閱讀:Embedded Youtube Playlist cannot shuffle using Javascript API

沒有留言: