~~ fPlayer ~~
HTML5 Web Music Player - with automatic playlist
This was an experiment in learning a few new tricks and a chance to put my friend Jeff Wilson's music up on a website.
This uses features built into HTML5 compliant browsers which is pretty much any recent browser.
The code is written in HTML, CSS, PHP and JavaScript.
Advantages of an HTM5 player:
- Works in all major browsers and many less common ones.
- Plays mp3, flac, wav, ogg, oga format files.
- As part of the browser, the user just clicks play, nothing to download/install.
What's different about fPlayer from other players?
HowTo:
- Download the zip archive with the necessary files: https://www.mimory.me/mimir/Code/fPlayer.zip
- unzip archive
- On your server create a "player" folder, such as here www.mimmory.me/mimir/player
- Copy the contents of the archive player folder to this new folder (no editing needed)
- at your root - e.g. here www.mimmory.me/ add a file named player.dir
This file contains only one line with the relative path to your player directory
-> e.g. /mimir/media/player/
-> with no spaces before or after
And you're done...
Well that's only if the files already have the right naming format:
Must be in this order:
(if used) - Artist name
(if used) - Album name (always with Artist also)
(required) - Track number
(required) - Song Title
e.g. Pink_Floyd_-_Dark_Side_of_The_Moon_-_09_-_Eclipse.flac
or Pink_Floyd_-_09_-_Eclipse.flac
or 09_-_Eclipse.flac
For Various Artist Albums use
03_-_Pink_Floyd_-_Eclipse.flac
Other naming schemes without _-_ will play, and display on the playlist but not show on the player.
This project includes material from http://www.script-tutorials.com/
Here's if Big Thank-You to them for getting me started!