.NET and Open Source: better together

RTur.net

  • Join Us on Facebook!
  • Follow Us on Twitter!
  • LinkedIn
  • Subcribe to Our RSS Feed

Mp3Player updated for BlogEngine 1.3

There is a new version of Mp3 flash audio player extension for BlogEngine 1.3 available for download. Please note that it will not work with BE 1.2 because it uses Extension Manager. The new in this version is an admin page that will let you to change how player looks. You’ll be able to change colors and sizes through the settings interface. I did this as an exercise to show how you can use your own admin page AND still take advantage of some of the Extension Manager features. More...

Update on mp3player and other things

Quick update: for those using mp3player, I noticed that it throws NullReferenceException in the latest BlogEngine builds. To fix it, go to extension source code (/App_Code/Extensions/mp3player.cs) and change from: More...

Mp3 Player - the new release is coming

Since BlogEngine finally got its extensions section up and running on the project’s home page, I put my Mp3 Player extension up there. Also I’ve been pointed on a small glitch this player has – in IE you have to click once to activate it and only after second click it will play. Not a big deal and I did not pay a lot of attention to it, mostly because pretty much every flash player I used so far has this same problem (see the picture). After short investigation I found out that reason Microsoft can’t fix this glitch is a legal one – there is a dispute over a patent going on. But MS (and Flash people) do provide works around “click to activate” problem, most of which comes down to writing “object” tag by JavaSript rather than embedding it directly into HTML code. Can be done in variety of ways for different situations and I think I found one that will work in my case. Needs a bit more testing, but looks like it should work just fine. More...

New extension for BlogEngine.net

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: