2005
09.09

The WordPress XSPF Player Plugin

[Spanish]

Warning: Comments are closed here. For support, please go to the forum.

I wanted my WordPress site to have some MP3 background music, but didn’t found any suitable plugin for it:

My webhosting server has little space, and cannot store tracks online. I just wanted a flash player or alike to be embedded into my pages which reads mp3 files via HTTP anywere on the internet. The XSPF web player does exactly that, and is licensed GPL.

I have developed this tiny plugin to allow WordPress pages to have background MP3 music embedding this player. You can see the player on the right sidebar. Just press play and music should start playing.

Features:

  • Works under Linux and Windows (and probably on every PC with a flash-compatible browser).
  • Plays local and remote MP3 music (HTTP)
  • Autostart playing and autorepeat if desired.
  • Song and Categories database managed from the Options menu
  • 3 player modes selectables.
  • Track order defined by user.
  • Inline (on the fly) parameter customization. New!

 
Hope you enjoy it.

Samples:


  • Slim mode. Just an horizontal bar. Clicking on the little arrow on the right jumps to the artists page (when available).
     

  • Wide List mode. A list-box with the tracks. Clicking on the photo jumps to the artists page (when available).

[Download] Current version of XSPF Player plugin

To do:
A nice online tutorial. Please, contribute to the Wiki.
 
Changelog:

  • Version 3.4
    * Bugfix: Possible security vulnerability. XSPF Player setup could be changed by a CSRF / XSS attack. Fixed.
  • Version 3.3
    + Feature: URL and category description can now have up to 255 chars long.
    + Feature: Version displayed in config menu, and other cosmetics.
    + Feature: Better directory protection.
    + Feature: Button to CLEAR all SQL xspf tables.
    * Bugfix: Category edition not shown when no tracks on database. Fixed.
  • Version 3.2
    * Bugfix: When no default player mode selected, the player may not work. Fixed.
    * Bugfix: The [XSPF] button does not work on WP 2.1. Fixed (Thanks, Renato Alves).
    * Bugfix: Cleanup database songs tables when installing for first time.
    + Feature: Now it’s possible (and preferred) to use [XSPF] … [ /XSPF] instead of <xspf>…</xspf> tags.
    Other: Everything is in one folder now (source code rearranged)
  • Version 3.1
    * Bugfix: Playlist sometimes does not works with PHP version < 5.x (MBCS). Fixed.
    * Bugfix: Slim mode sometimes showed an underlining color background. Fixed.
    * Bugfix: Sometimes the height and width were not set when choosing the mode on-the-fly (advanced users). Fixed.
    * Bugfix: When calling the player inside a post/page body, the output was not XHTML compliant. Fixed (MUST use _start() function now).
    + Feature: Under some free web-hosts, the playlist did not work because header insertions. This have been solved.
  • Version 3.0 “D.A.R.Y.L.” Major Release
    + Feature: Can insert the player within the post body
    + Feature: Added mode 0 (player can choose player URL)
    + Feature: Added mode 4 (button with overlay menu)
    + Feature: Parameters changeable on the fly (see Wiki)
    Other: Some glitches and code rearrangement.
  • Version 2.1
    * Bugfix: Total page number not correctly displayed in the tracks management panel.
    + Feature: Improved track management.
    + Feature: Plugin background color selectable via color picker.
    + Feature: Improved player mode selection.
  • Version 2.0 “The Grinch” Major Release
    * Bug Fix: No more than 10 Tracks displayed on the Tracks management panel. FIXED.
    * Bug Fix: Sometimes didn’t delete tracks from database if WP was localized to other languages. FIXED.
    * Bug Fix: Some glitches with de CSS fixed.
    + Feature: Song order now available per category!
    + Feature: The 3 Player bundled, and selectable with one click (3 player modes)!
    Change: Categories now moved to the management page.
    + Feature: Tracks now are paginated for better management.
    + Feature: Shuffle and Autoplay options available for each category.
  • Version 1.6
    + Feature: Autoload playlist
    + Feature: Preview in Options panel!
    * Bugfix: Playlist may give errors with some plugins. Fixed.
    * Bugfix: Entering a blank URL trak made the management panel to dissapear until page reloaded. FIXED.
    * Bugfix: Characters ‘ and ” escaped. Fixed.
  • Version 1.5
    * Bugfix: Compatible with PHP 5.0.x
    Note: This plugin was already compatible with PHP 5.1.x
  • Version 1.4
    * XHTML compliant code
  • Version 1.3
    * Bugfix: The playlist did not load if category specified. FIXED.
    + Feature: If no title is specified for a song, the URL track is used as default in the management section.
    + Feature: Shuffle tracks for each category.
  • Version 1.2
    * Bugfix: The playlist did not load on Internet Explorer. FIXED.
  • Version 1.1
    * Bugfix: The XML playlist was not correctly generated and the plugin might not work. FIXED.
    Known Bugs:
    * Seems not to load the playlist with Internet Explorer. Working on it…
  • Version 1.0
    Initial version.

 
List of sites using this plugin (Random order) all over the world:
[Lavondys] [KHertz] [Darran] [SilentEve] [Chester] [Le Blog de FredoMikado] [Wang Inc. Blog] [Ende Blog] [Podcast Blog] [La-Bella.Net] [Loonyworld] [Xarcell] [The Palomar] [Centralvet] [Spreeblick] [Xyth’s Phrontistery] [Bandsalat-zum-Fruehstueck] [Wuzz Bloggin’?] [AAwakenings] [How about that … Melody?] [Aeternus Tenebrae] [En el tren] [marcus’ tagebuch] [Easy Does It University] [பெட�?டிக�?கடை] [Go 2 Malawi] [El Desviado] [What it is] [.: ray = out :.] [American Liar]

Share
  1. […] Plugin boriel.com » The WordPress XSPF Player Plugin Após a sua avaliação, vote ou comente Fonte El Rinc n de Boriel The WordPress XSPF Player PluginWarning: Comments are closed […]

    Like or Dislike: Thumb up 0 Thumb down 0

  2. […] the rest here: boriel.com » The WordPress XSPF Player Plugin Comments0 Leave a Reply Click here to cancel […]

    Like or Dislike: Thumb up 0 Thumb down 0

  3. […] the original: El Rincón de Boriel » The WordPress XSPF Player Plugin Comments0 Leave a Reply Click here to cancel […]

    Like or Dislike: Thumb up 0 Thumb down 0

  4. […] XSPF_Player – Trình chơi nhạc MP3 này cho phép quản lý dễ dàng playlist, nghệ sỹ, album. Tất cả đều cấu hình qua giao diện riêng trong WordPress. […]

    [WORDPRESS HASHCASH] The comment’s server IP (174.120.3.130) doesn’t match the comment’s URL host IP (174.120.3.155) and so is spam.

    Like or Dislike: Thumb up 0 Thumb down 0

  5. […] http://www.boriel.com/plugins/the-wordpress-xspf-player-plugin : mettre un player de musique sur son blog. – http://www.nothing2hide.net : pour proposer la traduction de […]

    Like or Dislike: Thumb up 0 Thumb down 0

  6. […] by Andy Ye on Nov.21, 2008, under IT 应Carrie要求写个我的侧边栏音乐播放器的使用简要说明。此插件地址为:The WordPress XSPF Player Plugin。 […]

    Like or Dislike: Thumb up 0 Thumb down 0

  7. […] 此插件地址为:The WordPress XSPF Player Plugin。 […]

    Like or Dislike: Thumb up 0 Thumb down 0

  8. […] Re: A Little Tech Help Please – Uploading Audio To Blog Hi Mike, A few other options for you. WordPress Audio Player – Link WordPress XSPF Player – Link […]

    Like or Dislike: Thumb up 0 Thumb down 0

  9. […] El Rinc n de Boriel The WordPress XSPF Player PluginWarning: Comments are closed here. For support, please go to the forum. I wanted my WordPress site to have some MP3 background music, but didn t found any suitable plugin for it: […]

    Like or Dislike: Thumb up 0 Thumb down 0

  10. […] know of a plugin that can do this, but for playing music automatically on your site I recommend the XSPF Player Plugin __________________ […]

    Like or Dislike: Thumb up 0 Thumb down 0

  11. […] El Rincón de Boriel: The WordPress XSPF Player Plugin Does anyone know the name of the wordpress plugin that creates a list of your posts in a category instead of just displaying them one after the other? … […]

    Like or Dislike: Thumb up 0 Thumb down 0

  12. […] для WordPress блога с разнообразными настройками. 83. XSFP Player – добавляет Flash плеер в ваш блог. 84. Anarchy Media Player – […]

    Like or Dislike: Thumb up 0 Thumb down 0

  13. […] XSFP Player – Flash player that allows you to embed music on your blog via http. […]

    Like or Dislike: Thumb up 0 Thumb down 0

  14. […] Player – Inserts a simple MP3 player into your posts that plays uploaded audio files.XSFP Player – Flash player that allows you to embed music on your blog via http.What Am I Listening To?DG […]

    Like or Dislike: Thumb up 0 Thumb down 0

  15. […] XSFP Player (link) […]

    Like or Dislike: Thumb up 0 Thumb down 0

  16. […] для WordPress блога с разнообразными настройками. 83. XSFP Player – добавляет Flash плеер в ваш блог. 84. Anarchy Media Player – […]

    Like or Dislike: Thumb up 0 Thumb down 0

  17. […] songs, with this little small lovely XSPF web player and the  well done wordpress plugin by Boriel it’s a free creation and easy to manage with some interesting […]

    Like or Dislike: Thumb up 0 Thumb down 0

  18. […] 45) Xspf_player (TR) Link […]

    Like or Dislike: Thumb up 0 Thumb down 0

  19. […] 闲来没事给blog加了个播放器,xspf-player。 下载以后解压上传到wp-content/plugins/目录下,在管理页面可以添加歌曲的地址,注意要用http地址,在配置页面可以设置播放器的样式还有其他的一些属性,挺简单。 在sidebar.php页面上添加要调用的代码 ok,大功告成,可以听歌了,但是页面切换的时候又得重头来-_-” […]

    Like or Dislike: Thumb up 0 Thumb down 0

  20. […] Audio Player – Inserts a simple MP3 player into your posts that plays uploaded audio files. XSFP Player – Flash player that allows you to embed music on your blog via http. What Am I Listening To? DG […]

    Like or Dislike: Thumb up 0 Thumb down 0

  21. […] 57 Xspf_player (TR) Link […]

    Like or Dislike: Thumb up 0 Thumb down 0

  22. […] αλλά ο χώρος που διαθέτεις είναι περιορισμένος? Το XSPF,  είναι ένα φοβερό plugin που σου λύνει τα χέρια! […]

    Like or Dislike: Thumb up 0 Thumb down 0

  23. […] The WordPress XSPF Player Plugin:提供背景音乐的Wordpress插件,允许在Sidebar中嵌入这个Flash播放器。详细 […]

    Like or Dislike: Thumb up 0 Thumb down 0

  24. […] Audio Player – позволяет добавить в посты простой MP3-плеер. XSFP Player – Flash-плеер в блог. DG PlayingNow Updater – показывает мелодии, […]

    Like or Dislike: Thumb up 0 Thumb down 0

  25. […] WordPress XSPF Player is an audio player plugin that will play an MP3 file from any URL. The interface is innovative in […]

    Like or Dislike: Thumb up 0 Thumb down 0

  26. […] 在網路上找好久,試了兩個以上的撥放器,一直沒辦法完成,最後用了這個撥放器Xspf_player才成功,還蠻有趣的. […]

    Like or Dislike: Thumb up 0 Thumb down 0

  27. […] XSPF Player […]

    Like or Dislike: Thumb up 0 Thumb down 0

  28. […] эт очень мне нужно было…Ещё пытался разобраться с xspf player,но там что-то странное с плейлистами…Проще говоря,я […]

    Like or Dislike: Thumb up 0 Thumb down 0

  29. […] для WordPress блога с разнообразными настройками. 83. XSFP Player – добавляет Flash плеер в ваш блог. 84. Anarchy Media Player – […]

    Like or Dislike: Thumb up 0 Thumb down 0

  30. […] Audio Player – позволяет добавить в посты простой MP3-плеер. XSFP Player – Flash-плеер в блог. DG PlayingNow Updater – показывает мелодии, […]

    Like or Dislike: Thumb up 0 Thumb down 0

  31. […] XSFP Player (link) […]

    Like or Dislike: Thumb up 0 Thumb down 0

  32. […] XSFP Player – Flash player that allows you to embed music on your blog via http. […]

    Like or Dislike: Thumb up 0 Thumb down 0

  33. […] XSFP Player – Flash player that allows you to embed music on your blog via http. […]

    Like or Dislike: Thumb up 0 Thumb down 0

  34. […] 53 Xspf_player (TR) Link […]

    Like or Dislike: Thumb up 0 Thumb down 0

  35. […] Audio Player – позволяет добавить в посты простой MP3-плеер. XSFP Player – Flash-плеер в блог. DG PlayingNow Updater – показывает мелодии, […]

    Like or Dislike: Thumb up 0 Thumb down 0

  36. […] Audio Player – позволяет добавить в посты простой MP3-плеер. XSFP Player – Flash-плеер в блог. DG PlayingNow Updater – показывает мелодии, […]

    Like or Dislike: Thumb up 0 Thumb down 0

  37. […] to the magic of the XSPF player plugin for WordPress, and a good deal of help from the author when it refused to work on this blog, the […]

    Like or Dislike: Thumb up 0 Thumb down 0

  38. […] I came across both the XSPF Player and Boriel’s XSPF Player Plug-in for WordPress. When I first read these web pages, I was bewildered, thinking it was all too complicated for me. I […]

    Like or Dislike: Thumb up 0 Thumb down 0

  39. […] XSFP Player – Un player flash qui vous permet d’intégrer votre musique sur votre blog via http. […]

    Like or Dislike: Thumb up 0 Thumb down 0

  40. […] Audio Player – позволяет добавить в посты простой MP3-плеер. XSFP Player – Flash-плеер в блог. DG PlayingNow Updater – показывает мелодии, […]

    Like or Dislike: Thumb up 0 Thumb down 0

  41. […] Audio Player – позволяет добавить в посты простой MP3-плеер. XSFP Player – Flash-плеер в блог. DG PlayingNow Updater – показывает мелодии, […]

    Like or Dislike: Thumb up 0 Thumb down 0

  42. […] XSFP Player is a tiny plugin to allow WordPress pages to have background MP3 music embedding this player. […]

    Like or Dislike: Thumb up 0 Thumb down 0

  43. […] 53 © Xspf_player (TR) Link […]

    Like or Dislike: Thumb up 0 Thumb down 0