Recommended beautiful Flash web MP3 music player

Source: Internet
Author: User

Article Source: PHP Development Learning Portal

Address: http://www.phpthinking.com/archives/491


In the Web page production, if want to insert MP3 music in the webpage to add the interactive feeling of the webpage, enhance the user experience degree, this time the webpage music player is very necessary, the general situation if uses the background music to play the words to have several very unfriendly places

1. Play when the page loads, the user cannot pause, stop playing

2. General browser compatibility is poor, it is very rare to general all browsers

Therefore, a flash-based web music player is necessary.

He has some of the following advantages

1. Browser compatibility is good, the general mainstream browser now supports Flash

2. Can pause, stop playback, or automatically play through the parameter settings

3. Beautiful style. Beautiful and generous

Let's start with a picture of the player.

To a demonstration:

Of course there are many more styles, please go to Demo:

http://www.linzl.com/demos/2012/dewplayer/

Web mp3 How to use music player:

Html:

<object type= "Application/x-shockwave-flash" Data= "Dewplayer.swf?mp3=mp3/test1.mp3" width= "$" height= "id=" Dewplayer "><param name=" wmode "value=" Transparent "/><param name=" movie "Value=" dewplayer.swf?mp3=mp3/ Test1.mp3 "/></object>

which

dewplayer.swf

is the path of the player, be sure to

Mp3=mp3/test1.mp3

This is the MP3 address behind this mp3=.

can be either absolute or relative address

Parameters:

Options
Default Volume volume=100 Usually between 0-100
Auto Play Autostart=true Automatically play when the page is finished loading
Loop playback Autoreplay=true Play Music in a loop
Random Play Randomplay=true Multiple MP3 can be played randomly
Show time Showtime=true Show Playback time
Disable Mouse Nopointer=true Disable cursor to player
playlist xml= Playlist.xml
Gradient fading=3 No gaps (seconds) between one track, and the next player, can support gradients

How to use the player parameters:

http://www.linzl.com/demos/2012/dewplayer/mp3/test1.mp3&amp;autostart=1&amp;showtime=1&amp; Nopointer=1&amp;volume=50

Full version namely:

<object type=" Application/x-shockwave-flash "Data=" http://www.linzl.com/ demos/2012/dewplayer/dewplayer.swf "width=" "height=" "id=" Dewplayer "name=" Dewplayer "> <param name=" Wmode "value=" Transparent "/><param name=" movie "Value=" http://www.linzl.com/demos/2012/dewplayer/ dewplayer.swf "/> <param name=" flashvars "value=" mp3=http://demo.linzl.com/demos/2012/dewplayer/mp3/ Test1.mp3&amp;autostart=1&amp;showtime=1&amp;nopointer=1&amp;volume=50 "/> </object> 

Flash Web MP3 Player:

http://www.phpthinking.com/archives/491

Recommended beautiful Flash web MP3 music player

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.