OOk, I'm not much of a blogger, but I did try several blog engines on Microsoft platform and beyond before settling my mind on BlgogEngine.net. I like it a lot for simplicity and elegancy of the code base. May be I'm an old school, but I do prefer applications which code I can comprehend in it's (almost) entirety - it gives me (false) sense of security. The other thing that I like about it is support for extensibility - so you can make that simple elegant code base bloated with tons of stuff that you can package so that it pretends to be an "extension". One problem though is that BlogEngine is relatively new player and there are not too many extensions yet present. So I decided to fix it a bit…

Jokes aside, one thing that BlogEngine is missing is multimedia support. Sure, it's not a core feature and it does belong somewhere in plug-ins directory. And I really needed audio support for one of my projects. After some looking around I found that there quiet a few free flash players you can use in HTML pages (may be Microsoft will come up with knocking-your-socks-off free SilverLight player some day and it will take over the world?). By far, the most popular and slim in-line player I came across is the one used in WordPress blogs. I decided that this is the best candidate for adoption and wrote a little wrapper around this flash player to hook it up with BlogEngine. Extension that I resourcefully named "mp3player" you can download here. There are also some instructions on how to install and use it, and all code is available for you to use and change at will. I intend to maintain and enhance it over the time so any feedback on bugs/issues or suggestions for improvement are greatly appreciated.

Below is an example what it looks like – most likely you’ve already familiar with the picture, which is another advantage of using this particular player. Just click an arrow to test it:

Share/Save/Bookmark
Signature

Comments

10/15/2007 8:53:00 AM #

alexb

Thanks, just what i needed!

alexb |

10/15/2007 8:35:11 PM #

Miron

Thanks for the extension, but I couldn't make it work on the hosting server.
On my local machine it works perfect.
In the hosting server, the page is loading for a l o n g  time, and nothing happen. the control is invisible
:-(

Miron |

10/16/2007 6:42:39 AM #

Miron

Update, I made it work, and it works just perfect.
Was permission on the folder "audio"
Good work, man! Thanks!

Miron |

10/16/2007 8:33:57 AM #

rtur.net

Great, I glad you’ve made it work. I’ll add a note about permissions to the download page, thanks for your feedback.

rtur.net |

5/8/2008 12:39:59 PM #

Andre Tagesgeld

Wow - I just installed it and it works like a charm. Thank you very much!

Andre Tagesgeld |

5/15/2008 12:52:06 PM #

Fonds

thank you for your report...it´s new for me but i will try it out and hope, it fitsSmile

Fonds |

5/27/2008 9:37:10 PM #

Siam Sunshine

Like it, nice. Good looking theme too! well done on a good blog.

Siam Sunshine |

11/25/2008 12:46:51 PM #

zaidler

Wow it works great, very cool theme
everyone got attracted
Regards
<a href="http://www.zaidler.com/landscape/">Abstract Landscape Paintings</a>

zaidler |

11/25/2008 9:03:23 PM #

Lhincy Dress Up

Thanks for sharing this addons. thanks alot rtur. you have a lots of info. i love you blog site.

Lhincy Dress Up |

12/1/2008 4:07:16 PM #

SinglesDigest

I am extremely thankful to you,
these addons really helpmed a lot
thank you
<a href="http://www.singlesdigest.com/">SinglesDigest</a>

SinglesDigest |

12/16/2008 5:06:06 AM #

so great!

so great! thanks!

so great! |

12/17/2008 10:31:59 AM #

John

Installed BlogEngine.Net 1.4.5.

Followed your steps for installation of the mp3 player and receive an error on line 190.

The 'mp3player.cs' is in the 'Extensions' folder.
The 'audio' folder is located in the root of my blog and I granted 'ASPNET' full permissions.

The Source Error reads...saying line 190 is

Line 188:        _cnt++;
Line 189:
Line 190:        return String.Format(s, AudioRoot(), _cnt, sFile, "No",
Line 191:            _settings.GetSingleValue(_bgColor),
Line 192:            _settings.GetSingleValue(_bg),

Enjoying BlogEngine and would like to have this mp3 functionality as well.

Thank you for your posts and information, hope to hear from the community soon.

John |

12/17/2008 9:29:01 PM #

rtur.net

John, try to add this before line 190:

if (_settings == null) SetDefaultSettings();

rtur.net |

12/19/2008 8:08:56 PM #

John

Hi,

The error is gone.
Your code above resolve that...Thank you.

Now in 'Extension', I see 'mp3player 1.3.0.0', but do not see the 'Edit' link on the right side.
In my 'audio' folder (which has the appropriate permissions, I believe)...there are 5 files.

Admin.aspx
Admin.aspx.cs
player.js
player.swf
test.mp3

When I add [mp3:test.mp3] to my blog, I do not get the player...any thoughts.

Thank you for your efforts.
My blog will be at http://blog.elmsoftware.com (It will be officially launched on my site in a few days...)

John |

12/22/2008 9:31:26 PM #

Pankaj

Thanks for sharing with us!!

Pankaj |

12/22/2008 10:20:38 PM #

Speed Dating NYC

This is great. I was looking for a player too for one of my projects. This comes in handy. I agree that Microsoft should come out with a Silverlight player.

Speed Dating NYC |

2/11/2009 8:02:16 PM #

Firoz Ozman

Thanks very much.
I have 1.4 hosted. I tried including this code for extention. [mp3.test.mp] does not get converted to the player.?

Any idea?

Thanks
Firoz

Firoz Ozman |

2/11/2009 8:05:35 PM #

Firoz Ozman

Forgot to mention... the player works well in the admin page.

Firoz Ozman |

2/11/2009 9:18:47 PM #

rtur.net

@Firoz: did you try "if _settings == null" trick described above? It looks like in some configurations extension loaded without settings been ever created.

rtur.net |

3/24/2009 5:17:19 PM #

Firoz Ozman

Cool... That worked!

Firoz Ozman |

Comments are closed
<<  March 2010  >>
SuMoTuWeThFrSa
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
Enhanced with Snapshots

Subscribe to Rtur.net