[audio:name_of_mp3_file.mp3]
[audio:name_of_mp3_file1.mp3,name_of_mp3_file2.mp3,name_of_mp3_file3.mp3]
[audio:http://www.somedomain.com/path/to/name_of_mp3_file.mp3]
[audio:name_of_mp3_file.mp3|option1=value|option2=value]
Option | Effect |
---|---|
autostart=yes | The player will automatically open and start to play the track (default value is no) |
loop=yes | The track will be looped indefinitely (default value is no) |
bg=0xHHHHHH | Background colour option (where HHHHHH is a valid hexadecimal colour value such as FFFFFF or 009933) |
leftbg=0xHHHHHH | Left background colour |
rightbg=0xHHHHHH | Right background colour |
rightbghover=0xHHHHHH | Right background colour (hover) |
lefticon=0xHHHHHH | Left icon colour |
righticon=0xHHHHHH | Right icon colour |
righticonhover=0xHHHHHH | Right icon colour (hover) |
text=0xHHHHHH | Text colour |
slider=0xHHHHHH | Slider colour |
loader=0xHHHHHH | Loader bar colour |
track=0xHHHHHH | Progress track colour |
border=0xHHHHHH | Progress track border colour |
Example:
[audio:name_of_mp3_file.mp3|autostart=yes|bgcolor=0x000000]
New install: this is the first time you install Audio Player on your WordPress blog
1、Download the plugin zip file
2、Extract the contents of the zip file to your local hard drive
3、Upload the audio-player folder to your WordPress site in the wp-content/plugins folder
4、The folder structure of your blog should look like this:
5、Log in to your WordPress admin and go to the Plugins section. You should now see Audio Player in the list of available plugins
6、Activate the plugin by clicking the activate link
7、Now go to the Settings section (Options for WordPress pre 2.5) and select Audio Player where you can configure the plugin
评论