close
嵌入影音首先
我找到我想聽得音樂
在複製程式碼嵌入到部落格
痞客邦>後台管理>側邊欄位設定>新增版位
挑出對話方塊
請在自訂方塊貼上複製的程式碼
<iframe width="420" height="315"
src=http://www.youtube.com/embed/3JC27eE-BPw
frameborder="0" allowfullscreen></iframe>
又因為 <ifram></ifram>~~>是html5語法 ,若你要改為自動撥放的話
觀察一下 是不是不一樣 /embed/影音的帳號~~>改為 /v/影音帳號 + &autoplay=1(重複播放語法 ,開啟重複=1,關閉重複=0)
<iframe width="420" height="315" src=http://www.youtube.com/v/3JC27eE-BPw&autoplay=1
frameborder="0" allowfullscreen></iframe>>
width and height 調整寬度和高度尺寸
我成功了! 你也試試吧 !!
全站熱搜
留言列表