embed播放器(三)美化播放器
九款變色播放器樣式語法套用及製作個人風味音樂盒
本文引用自→ Fountain & Mumur的聯合網誌 感謝好東西分享~
這篇是漂亮的embed音樂播放器樣式語法套用
有的蠻夢幻的,有的有復古風味,也有的波浪型。
依照上一篇的embed教學認識,相信您多少有點語法概念。
所以看看喜歡哪個樣式,只要把指令再套入播放器語法中就OK囉!
來試試吧!祝您玩得愉快
變色播放器 |
1.原色(藍色) Filter <embed src="音樂網址" width=240 height=60 autostart=false ShowStatusBar=true EnableContextMenu=false> |
2.半透明濾鏡效果 Alpha(style=1) <embed style="FILTER:Alpha(opacity=**,style=1)" src="音樂網址"width=300 height=69 autostart=false ShowStatusBar=true EnableContextMenu=false> 2-1.半透明濾鏡效果 Alpha(style=2) <embed style="FILTER:Alpha(opacity=**,style=2)" src="音樂網址"width=300 height=69 autostart=false ShowStatusBar=true EnableContextMenu=false> 2-2.半透明濾鏡效果 Alpha(style=3) <embed style="FILTER:Alpha(opacity=**,style=3)" src="音樂網址"width=300 height=69 autostart=false ShowStatusBar=true EnableContextMenu=false>
|
3.灰色 Gray <embed style="FILTER:Gray" src="音樂網址" width=300 height=69 ShowStatusBar=true EnableContextMenu=false> |
4.黑色 Xray <embed style="FILTER:Xray" src="音樂網址" width=300 height=69 autostart=false ShowStatusBar=true EnableContextMenu=false> |
5.銅黑色 Invert <embed style="FILTER:Invert" src="音樂網址" width=300 height=69 autostart=false ShowStatusBar=true EnableContextMenu=false> |
6.左右翻轉 FlipH <embed style="FILTER:FlipH" src="音樂網址" width=300 height=69 autostart=false ShowStatusBar=true EnableContextMenu=false> |
7.上下翻轉 FlipV <embed style="FILTER:FlipV" src="音樂網址" width=300 height=69 autostart=false ShowStatusBar=true EnableContextMenu=false> |
8.模糊 Blur <embed style="FILTER:Blur" src="音樂網址" width=300 height=69 autostart=false ShowStatusBar=true EnableContextMenu=false>
|
9.波形效果 Wave
<embed style="FILTER:Wave" src="音樂網址" width=300 height=69 autostart=false ShowStatusBar=true EnableContextMenu=false>
說明: 1. 若要自動播放,只要將 autostart=false 指令刪除或改成→ autostart=true 也行。 2.播放器寬高可自行調整。 3. opacity=** 濾鏡透明度可自行設定,未設定時是100,數字越小越淡化。 ※ 若要設定,則參數更改如下:opacity=30 |
語法說明: 1.width 撥放器的寬度。 2.height 撥放器的高度 3.loop=1 撥放一次、loop=-1無限撥放 4.hidden=false 顯示撥放器、hidden=true隱藏撥放器 5.autostart=true 自動撥放、autostart=false不自動撥放 6.檔案可以是rm、mp3、wmv、asf、swf....等 7.網址不要太冗長不可以有很奇怪的字元 8. hidden="0" 表示不隱藏播放器 9. ShowPositionControls="0" 表示不顯示"上一首"及"下一首"的按鈕 10. 0為"否",-1或1為"是",也可以用false與 true ,但後者在非IE核心的瀏覽器上使用,可能會不正常
|
製作個人風味音樂盒 |
之前有教過 Flish動畫應用,現在我們就把它也拿來這裡應用。 上篇也有語法介紹 embed加上 hidden=true 播放器面版就會隱藏,這就等於背景音樂。 所以我要把這個面版隱藏參數,套在 Flish動畫中,那麼就有可放多首音樂且能自動連播的背景音樂了。 再者只要把Flish動畫尺寸設定為自訂欄位使用,那麼就是個人獨一無二的音樂盒了。 只是這個音樂盒面版隱藏,沒有控制鈕可以設定,所以只能一直聽到歌曲完播了。 當然還要設參數,讓音樂盒循環播放一次就可以。 作法: 跟Flish動畫語法應用一樣的方法→ Flash動畫應用(一)~如何在Flash動畫中插入文字 只是在語法最後加入音樂語法時,改成播放清單音樂語法。 1. 首先要先製作一個播放清單。 2.做好清單,上傳到空間。 3.取得清單網址,套上embed音樂語法,設定為隱藏音樂面版。 4. 將整段語法貼到文字編輯器裡面的Flish動畫語法最下方。 5. 可先預覽看看,滿意後再按存檔。 6. 取得動畫網頁網址後,再套上embed語法,貼到自訂欄位,如此就完成了。 獨家風格,個人特色音樂盒,就這樣出現了。 個人風格音樂盒↓ |
相關文章 mid 水晶鋼琴音樂盒分享及曲目下載
embed播放器(2-1)embed音樂語法進階講解
embed播放器(二)embed音樂語法進階講解
embed播放器(一)製作播放清單wpl音樂盒
本文為網頁嵌入發表,若想收藏,只要複製下列語法,貼到文章發表語法區就可以囉!
<p align=center><embed src="http://zxc2035.freehyperspace2.com/wpl/emb/wpl-2.htm" width="620" height="5500"></embed></p>