This tutorial uses the Audio Player Wordpress plugin from 1pixelout. Please download the .zip file from that site. You will need to unzip the files and use two of them:
* player.swf (this is the audio player)
* audio-player.js (this is the JavaScript)
These instructions concern using that player on non-Wordpress HTML pages.
You must have some Web space that you control (that is, server space) to which you will upload these files as well as your audio files.
If you are using Internet Explorer, you will probably need to click the player twice to make it play. (All other Web browsers will let you click once.) If you do not see the MP3 player, then you don't have the Flash player installed. (More than 90 percent of all Internet users do have it.)
Tutorial
For this tutorial, let's imagine that your server space is at this URL: www.fakedomain.com/myname/
1. Create a new folder on your Web server and name it "audio"
2. Upload the two files for the audio player (player.swf and audio-player.js) to the audio folder.
3. Upload an MP3 file to the audio folder. For this tutorial, let's assume your file is named music.mp3. (NOTE: The MP3 file must be encoded at 44.1 kHz, or 22.05 kHz, or 11.025 kHZ; any other sampling rate will result in the "chipmunk effect," which you really would not like.)
Now that your three files are uploaded, they reside at these URLs:
* http://www.fakedomain.com/myname/audio/player.swf
* http://www.fakedomain.com/myname/audio/audio-player.js
* http://www.fakedomain.com/myname/audio/music.mp3
The next step is to place the HTML for this player on the Web page where you want it to appear. Change the URLs shown below to match your own URLs.
If You Use Blogger
To use this player with a blog hosted at Blogger, take out all the code above the
Langganan:
Posting Komentar (Atom)
0 komentar
Posting Komentar