上方是相簿的音樂檔案撥放器,下方是官方提供的外嵌播放器。
大花是很可愛啦,然而沒有時間軸整個很不方便~所以我就想到把上面的拿來外嵌XD
大花是很可愛啦,然而沒有時間軸整個很不方便~所以我就想到把上面的拿來外嵌XD
以下雖然都是語法,但是請不要害怕="=
因為要做的只有複製和貼上XD
因為要做的只有複製和貼上XD
這是相簿頁面的撥放器(範例是這個http://smallwu36.pixnet.net/album/photo/98724748)
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0" width="182" height="72" id="PixnetPlayer" align="middle">
<param name="allowScriptAccess" value="always" /> <param name="wmode" value="transparent" /> <param name="movie" value="http://www.pixnet.net/sv/KJMLJAINQPPQJQPQAFLV/98724748/1" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="#ffffff" /> <param name="allowFullScreen" value="true" /> <embed src="http://www.pixnet.net/sv/KJMLJAINQPPQJQPQAFLV/98724748/1" allowfullscreen="true" scale="noscale" salign="lt" quality="high" bgcolor="#ffffff" width="182" height="72" name="PixnetPlayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> * * * * *
然後這是官方提供的外嵌語法(外嵌至 PIXNET 服務)
不會自動播放
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0" width="156" height="54" id="PixnetPlayer98724748" align="middle"> <param name="allowScriptAccess" value="always" /> <param name="wmode" value="transparent" /> <param name="movie" value="http://www.pixnet.net/onsv/KJMLJAINQPPQJQPQAFLV/98724748/0" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="#ffffff" /> <param name="allowFullScreen" value="true" /> <embed src="http://www.pixnet.net/onsv/KJMLJAINQPPQJQPQAFLV/98724748/0" allowfullscreen="true" wmode="transparent" scale="noscale" salign="lt" quality="high" bgcolor="#ffffff" width="156" height="54" name="PixnetPlayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> 自動播放
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0" width="156" height="54" id="PixnetPlayer98724748" align="middle"> <param name="allowScriptAccess" value="always" /> <param name="wmode" value="transparent" /> <param name="movie" value="http://www.pixnet.net/onsv/KJMLJAINQPPQJQPQAFLV/98724748/1" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="#ffffff" /> <param name="allowFullScreen" value="true" /> <embed src="http://www.pixnet.net/onsv/KJMLJAINQPPQJQPQAFLV/98724748/1" allowfullscreen="true" wmode="transparent" scale="noscale" salign="lt" quality="high" bgcolor="#ffffff" width="156" height="54" name="PixnetPlayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> (自動播放很吵,就不貼出來了-_-;)
其中的差異是兩個地方: 「param name movie最後的0變成1」和「embed src後面網址的0變成1」 也就是紅字處。 * * * * *
最後要說重點了~如何把官方提供的外嵌語法變成有時間軸的呢?
以下飯粒(真好吃) 原始語法 <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0" width="156" height="54" id="PixnetPlayer101574034" align="middle"><param name="allowScriptAccess" value="always" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.pixnet.net/onsv/KJMLJAJMILJMLPPQAFLV/101574034/0" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="salign" value="lt" /><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /> <embed src="http://www.pixnet.net/onsv/KJMLJAJMILJMLPPQAFLV/101574034/0" allowfullscreen="true" wmode="transparent" scale="noscale" salign="lt" quality="high" bgcolor="#ffffff" width="156" height="54" name="PixnetPlayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object> 外嵌的KJMLJAJMILJMLPPQAFLV/101574034/0要轉貼到相簿的2個地方 「param name="movie" value=」和「embed src=」,如下 <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0" width="182" height="72" id="PixnetPlayer" align="middle"> <param name="allowScriptAccess" value="always" /> <param name="wmode" value="transparent" /> <param name="movie" value="http://www.pixnet.net/sv/KJMLJAJMILJMLPPQAFLV/101574034/0" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="#ffffff" /> <param name="allowFullScreen" value="true" /> <embed src="http://www.pixnet.net/sv/KJMLJAJMILJMLPPQAFLV/101574034/0" allowfullscreen="true" scale="noscale" salign="lt" quality="high" bgcolor="#ffffff" width="182" height="72" name="PixnetPlayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> |
結束XD
全站熱搜
留言列表