Pages

Subscribe:

Labels

2011年8月24日 星期三

修改Youtube影片清單語法

欸...其實我想不到標題要打什麼 (喂)

YouTube改版之後,影片的播放視窗也改了
後來我發現部落格的音樂清單變得好雞掰!! (欸你)
按播放之後按鍵全擠在一起,害我超不爽,於是就開始了修改語法故事
#more#

現在的播放清單語法是這樣
<object height="385" width="480"><param name="movie" value="http://www.youtube.com/p/24FF71E322416271?version=3&hl=zh_TW&fs=1"> </param> <param name="allowFullScreen" value="true"> </param> <param name="allowscriptaccess" value="always"> </param> <embed src="http://www.youtube.com/p/24FF71E322416271?version=3&hl=zh_TW&fs=1" type="application/x-shockwave-flash" width="480" height="385" allowscriptaccess="always" allowfullscreen="true"></embed></object>

因為我要放在部落格的欄位上,所以要改尺寸

<object height="385" width="480"><param name="movie" value="http://www.youtube.com/p/24FF71E322416271?version=3&hl=zh_TW&fs=1"> </param> <param name="allowFullScreen" value="true"> </param> <param name="allowscriptaccess" value="always"> </param> <embed src="http://www.youtube.com/p/24FF71E322416271?version=3&hl=zh_TW&fs=1" type="application/x-shockwave-flash" width="480" height="385" allowscriptaccess="always" allowfullscreen="true"></embed></object>
改成這樣
<object height="230" width="161"><param name="movie" value="http://www.youtube.com/p/24FF71E322416271?version=3&hl=zh_TW&fs=1"> </param> <param name="allowFullScreen" value="true"> </param> <param name="allowscriptaccess" value="always"> </param> <embed src="http://www.youtube.com/p/24FF71E322416271?version=3&hl=zh_TW&fs=1" type="application/x-shockwave-flash" width="230" height="161" allowscriptaccess="always" allowfullscreen="true"></embed></object>

因為尺寸變小,所以按播放之後,按鍵全都擠在一起了!!
改版之後,清單播放器版本是3,2的時候就沒有這問題,所以就把版本改成2

<object height="230" width="161"><param name="movie" value="http://www.youtube.com/p/24FF71E322416271?version=3&hl=zh_TW&fs=1"> </param> <param name="allowFullScreen" value="true"> </param> <param name="allowscriptaccess" value="always"> </param> <embed src="http://www.youtube.com/p/24FF71E322416271?version=3&hl=zh_TW&fs=1" type="application/x-shockwave-flash" width="230" height="161" allowscriptaccess="always" allowfullscreen="true"></embed></object>
改成
<object height="230" width="161"><param name="movie" value="http://www.youtube.com/p/24FF71E322416271?version=2&hl=zh_TW&fs=1"> </param> <param name="allowFullScreen" value="true"> </param> <param name="allowscriptaccess" value="always"> </param> <embed src="http://www.youtube.com/p/24FF71E322416271?version=2&hl=zh_TW&fs=1" type="application/x-shockwave-flash" width="230" height="161" allowscriptaccess="always" allowfullscreen="true"></embed></object>

然後貼出來就變這樣了!

0 意見:

張貼留言