嵌入式影音連結

YouTube 為例,此網站為網路上使用人數最多的影音分享網站。

搜尋想要的影片後,
YouTube會自動提供該影片的嵌入式原始碼。

將所需要的原始碼貼入編輯文章內,



<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/1HEndNYVhZo&hl=zh_TW&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/1HEndNYVhZo&hl=zh_TW&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>


以上英文字串即是YouTube所提供的原始碼。

請注意如果要讓影片正確嵌入文章內,則需要在痞客邦提供的文章編輯介面內,選取「原始碼」編輯模式,如此一來,你想要讓別人看到的短片,就能貼在自己的Blog內!
arrow
arrow
    全站熱搜

    mfes 發表在 痞客邦 留言(0) 人氣()