提上來~
直接拷貝的話,嵌入代碼是:
<iframe width="420" height="315" src="http://www.youtube.com/embed/ohAsJcbriyM" frameborder="0" allowfullscreen></iframe>
視頻地址是:
http://www.youtube.com/watch?feature=player_embedded&v=ohAsJcbriyM
也就是說實際上視頻的ID是:ohAsJcbriyM
那麽,每次用老的可以自動播放的嵌入代碼模版時,隻要把其中的視頻ID替換就行了:
<embed src="http://www.youtube.com/v/ohAsJcbriyM&autoplay=1" type="application/x-shockwave-flash" width="425" height="350"></embed>
效果如下: