MP3 Player

Acknowledgments

This BlogEngine extension is a simple wrapper around widely popular flash player used in Audio Player Wordpress plugin.

Features

  • Plays mp3 audio files in your blog posts.

Limitations

  • Audio only, will not play video mp3 files.
  • Mp3 only, no other audio formats supported.

Requirements

Installation

  1. Download mp3player.1.3.0.zip (BlogEngine 1.3 only)
  2. Unzip using any archive manager. At the top of unzipped package you should have two items: "audio" folder and "mp3player.cs" file.
  3. Copy mp3player.cs into your BlogEngine extensions directory.
  4. Copy "audio" folder with all it content into root of your BlogEngine application.  Make sure ASP.NET has read/write permissions on this folder.
You are all set!

Usage

  1. Create a blog post. Add this line anywhere in the post: [mp3:test.mp3]
  2. Save and look at the place in the post where you added markup. If everything went well, you should see similar picture:
  3. Click on the arrow - player will expand and you should hear a sound.
  4. Upload more files into the audio directory and use them in you posts with: [mp3:your file name.mp3] substituting "your file name.mp3" with actual file name.
  5. To customize player look, navigate to Extensions tab in the admin consol and change any values in the settings page for the mp3player extension:

Upgrade from 1.0.0/1.0.1 to 1.3.0

  1. Merge files in the ~/audio folder overriding old files with new
  2. Replace ~/App_Code/Extensions/mp3player.cs with new version

New Features in 1.0.1

  1. Support "global" URL: [mp3:http://path/to/your/file.mp3]
  2. Support multiple files (playlist): [mp3:file1.mp3,http://path/to/file2.mp3]
  3. Fixed "click to activate control" glitch in IE

New Features in 1.3.0

  1. Player interface customization through the admin settings page

Future enhancements

  • Support for playing any “web” mp3’s (any valid http://path to file.mp3 (done in v. 1.0.1)
  • Play lists (multiple files per player) (done in v. 1.0.1)
  • Behavior and look-and-feel customization (settings page) (done in v. 1.3.0)
  • Podcasting support

Disclaimer

This code is free of charge and distributed "as is". Although sorely tested under Windows XP Pro, Windows Server 2003 and Vista - YOU ARE the one responsible for any damage it might cause. Please do back-ups, patches, eat well and don't hurt yourself otherwise.

Download

mp3player.1.3.0.zip (40.82 kb) (BlogEngine 1.3 ONLY)

mp3player 1.0.1.zip (36.14 kb) (for BlogEngine 1.2)

<<  July 2008  >>
SuMoTuWeThFrSa
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789
Enhanced with Snapshots

Subscribe to Rtur.net