Cool Web page Music player Dewplayer using method _javascript Tips

Source: Internet
Author: User

How to: Add code to the template, or, like me, put it in the ad code to invoke it. Note Modify the SWF file and the mp3 file path. For automatic start and loop playback, add code &autostart=1&autoreplay=1, such as "Mp3=http://www.x.com/x.mp3&autostart=1&autoreplay =1 ".

1, stream[135x50]


Copy Code code as follows:

<embed flashvars= "Mp3=mp3/test1.mp3" type= "Application/x-shockwave-flash" "bgcolor=" #FFFFFF "src=" dewplayer-stream.swf "height=" width= "135" ></embed>

2, mini[150x20]
Copy Code code as follows:

<object type= "Application/x-shockwave-flash" Data= "/flashdir/dewplayer-mini.swf" width= "160" height= "id=" Dewplayermini "name=" Dewplayermini ">
<param name= "movie" value= "/flashdir/dewplayer-mini.swf"/>
<param name= "Flashvars" value= "Mp3=flashdir/mp3/everywhere.mp3"/>
</object>

3, classic[200x20]


Copy Code code as follows:

<object type= "Application/x-shockwave-flash" Data= "/flashdir/dewplayer.swf" width= "height=" Dewplayerclassic "name=" Dewplayerclassic ">
<param name= "movie" value= "/flashdir/dewplayer.swf?mp3=flashdir/mp3/cesaria.mp3"/>
<param name= "Flashvars" value= "Mp3=flashdir/mp3/cesaria.mp3"/>
</object>

4, multi[240x20]


Copy Code code as follows:

<object type= "Application/x-shockwave-flash" data= "/flashdir/dewplayer-multi.swf" "width=" "height=" Dewplayermulti "name=" Dewplayermulti ">
<param name= "movie" value= "/flashdir/dewplayer-multi.swf"/>
<param name= "Flashvars" value= "mp3=flashdir/mp3/moldau.mp3|flashdir/mp3/cesaria.mp3|flashdir/mp3/ Everywhere.mp3 "/>
</object>

5, Multi rect[240x20]


Copy Code code as follows:

<object type= "Application/x-shockwave-flash" data= "/flashdir/dewplayer-multi.swf" "width=" "height=" Dewplayermulti "name=" Dewplayermulti ">
<param name= "movie" value= "/flashdir/dewplayer-multi.swf"/>
<param name= "Flashvars" value= "mp3=flashdir/mp3/moldau.mp3|flashdir/mp3/cesaria.mp3|flashdir/mp3/ Everywhere.mp3 "/>
</object>

6, bubble[250x65]


Copy Code code as follows:

<object type= "Application/x-shockwave-flash" Data= "/flashdir/dewplayer-bubble.swf" width= "height=" "id=" Dewplayerbub "name=" Dewplayerbub ">
<param name= "movie" value= "/flashdir/dewplayer-bubble.swf"/>
<param name= "Flashvars" value= "Mp3=flashdir/mp3/moldau.mp3"/>
</object>

7, playlist[240x400]
Copy Code code as follows:

<object type= "Application/x-shockwave-flash" Data= "/flashdir/dewplayer-playlist.swf" width= "the" "" "height=" "" ID = "Dewplayerpls" name= "Dewplayerpls" >
<param name= "movie" value= "/flashdir/dewplayer-playlist.swf"/>
<param name= "Flashvars" value= "Xml=/flashdir/playlist-full.xml"/>
</object>

8, playlist[240x400] (with cover)


Copy Code code as follows:

<object type= "Application/x-shockwave-flash" data= "dewplayer-playlist.swf" "width=" "height=" Dewplayer "name=" Dewplayer ">
<param name= "wmode" value= "Transparent"/>
<param name= "movie" value= "dewplayer-playlist.swf"/>
<param name= "Flashvars" value= "Showtime=true&autoreplay=true&xml=playlist.xml"/>
</object>

9, vinyl[303x113]

Copy Code code as follows:

<object type= "Application/x-shockwave-flash" Data= "/flashdir/dewplayer-vinyl.swf" width= "303" height= "113" Dewplayervinyl "name=" dewplayervinyl ">
<param name= "movie" value= "/flashdir/dewplayer-vinyl.swf"/>
<param name= "Flashvars" value= "Xml=flashdir/playlist.xml"/>
</object>

Package Download Address

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.