close

部落格小玩意 "多張圖片/多首MP3/多部影片/三種物件混播 多功能播放器語法貼紙"

 

 

* 本播放器可使用 "playlist" 播放 "多張圖片" 或 "多首MP3" 或 "多部影片" 或三種多媒體物件交叉混播, 請參考:
   
http://www.longtailvideo.com


* 此播放器swf約佔95K( 若只是播放MP3時,建議採用其他的MP3播放器 ):

 

    &autostart=true自動播放 / false手動播放 

   &showdigits=true面板顯示數字 / false面板不顯示數字

   &volume=100 起始音量

   &backcolor=面板底色

   &frontcolor=面板前景色

 

*若是 "單張圖片" 或 "單曲MP3" 或 "單首影片" 不使用播放清單, 請參考 ==>

*請將播放清單XML, 播放器SWF 存放在同一個免費空間, 例如:

 

*物件數目可自訂,本例為 "影片/圖片+MP3/圖片" 等3個物件混播的曲目清單 mrss.xml,其中duration為播放秒數, 內容如下:

- <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
- <channel>
  <title>Example media RSS playlist for the JW Player</title>
  <link>http://www.longtailvideo.com</link>
- <item>
  <title>Big Buck Bunny - FLV Video</title>
  <link>http://www.bigbuckbunny.org/</link>
  <description>Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation. Like the foundation's previous film Elephants Dream, the film is made using free and open source software.</description>
  <media:credit role="author">the Peach Open Movie Project</media:credit>
  <media:content url="
http://www.longtailvideo.com/jw/upload/bunny.flv" type="video/x-flv" duration="33" />
  </item>
- <item>
  <title>Big Buck Bunny - MP3 Audio with thumb</title>
  <link>http://www.bigbuckbunny.org/</link>
  <description>Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation. Like the foundation's previous film Elephants Dream, the film is made using free and open source software.</description>
  <media:credit role="author">the Peach Open Movie Project</media:credit>
  <media:content url="
http://www.longtailvideo.com/jw/upload/bunny.mp3" type="audio/mpeg" duration="33" />
  <media:thumbnail url="
http://www.longtailvideo.com/jw/upload/bunny.jpg" />
  </item>
- <item>
  <title>Big Buck Bunny - PNG Image with start</title>
  <link>http://www.bigbuckbunny.org/</link>
  <description>Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation. Like the foundation's previous film Elephants Dream, the film is made using free and open source software.</description>
- <media:group>
  <media:credit role="author">the Peach Open Movie Project</media:credit>
  <media:content url="
http://www.longtailvideo.com/jw/upload/bunny.png" type="image/png" duration="20" start="10" />
  </media:group>
  </item>
  </channel>
  </rss>

<!--  xml,swf請放在同一個免費空間,例  Hinet              -->
<!--  **   MP3可上傳至Google, 請參考 ==>                     -->
<!--  適用於多家部落格的 "免費網路空間" , 文章網址 ==>              -->
<!--   
http://blog.xuite.net/tools241/blog/108046903              -->
<!--  若以"記事本" 編輯本 *.xml , 在另存新檔時 '格式' 選不自動換行; '編碼' 選UTF-8  -->

 

 

 

語法如下:

<embed id=single2 src=http://www.fileden.com/files/2011/1/2/3050535/tools_241/player54.swf  width=320 height=240 type=application/x-shockwave-flash allowfullscreen="true" flashvars="file=http://www.fileden.com/files/2011/1/2/3050535/tools_241/mrss.xml&autostart=true&showdigits=true&volume=100&backcolor=0x00FFFF&frontcolor=0x9500F" allowscriptaccess="never"></embed>

 

{}

 

本文出自: http://blog.xuite.net/tools241

arrow
arrow
    全站熱搜

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