BlogEngine.NET Extension: Flash Video Player

February 5, 2008 | Uncategorized | 54 Comments

Last week, I posted a flash video using flvplayer extension from betaparticle for BlogEngine.NET. I wanted to make some adjustments to the extension and I ended up completely rewriting it.


  • Plays FLV or MP4.
  • All properties are available in the BlogEngine.NET extension manager so you don’t have to touch the code to change settings.
  • The size of the player will automatically make room for the controls at the bottom (20px)
  • Uses SWFObject for flash replacement. This allow graceful degradation for those without Flash including mobile users. (I’ll upgrade it to SWFObject 2.0 when it’s released)
  • Enables Fullscreen playback.
  • Shows an initial image at startup named the same as the flv (myvideo.flv and myvideo.jpg). This way the video is not black at startup.
  • Optionally, instead of SWFObject, full <object><embed> formatting can be used.



Installation & Usage

  1. Download the file and unzip: Flash Video Player extension for BlogEngine.NET
  2. Copy FlashVideoPlayer.cs to /App_Code/Extensions/
  3. Copy the flashvideo folder to the root of your application (this can be customized in the settings)
  4. Add videos (myvideo.flv or myvideo.mp4) and images (myvideo.jpg) to the flashvideo folder.
  5. To use, just add [flv:myvideo.flv] anywhere in your post.




54 responses to “BlogEngine.NET Extension: Flash Video Player”

  1. Hi John,

    I was hoping to give your FLV Video Player extension a ride, but the download link is broken. Great web design by the way.


  2. John Dyer says:

    Thanks for catching that. It’s fixed now…

  3. Thomas Derenthal says:

    I did everything exactly per the instructions and here’s what renders:[flv:test.flv]. No video, no nothing. Just the literal text.

    I have a flv file called test in the flv directory

  4. John Dyer says:

    Thomas, the main thing you need to be sure of is that the FlashVideoPlayer.cs file is your BlogRoot/App_Code/Extensions folder and that it shows up when you go to BlogRoot/admin/Extension%20Manager/Default.aspx

    If it’s not showing up there in the list of extensions, then the *.cs file might not be in the right place.

  5. Trevor says:


    I have followed you instructions yet the [flv:oregon.flv] sample still shows up as text in the post. For what it is worth, the example you list above looks the same. I am using the latest BlogEngine available. Any Ideas what I might be doing wrong? Thank you for your effort!


  6. Rick says:

    Having same issue as all else. just shows [flv:oregon.flv] at render. I am 100% positive that all items (.cs) is int the right place. using 1.4 Any suggestions?

  7. John Dyer says:

    Whoops, it looks like there was a bug in the last update. The line that reads:

    e.Location != ServingLocation.SinglePost
    should in fact be
    e.Location == ServingLocation.SinglePost

    Swap that and you’ll be good.

  8. Rick says:

    i seem to be having an extension issue altogether

  9. Rick says:


    I hate to be a bother but I can not seem to get extensions to work at all on my site. I have blogengine installed 2 other times in different sub-directories and everything works perfect. However, this time I can not get any extension to work???? Any ideas???

  10. artvin says:

    Good extensions thanks.

  11. Alojaweb says:

    good extension, thanks i need

  12. Allwyn says:

    Very nice extension and easy to implement

  13. r says:

    Thanks, this is pretty cool. Finally forced me to update from 1.2 as well (adding [i]FlashVideoPlayer.cs[/i] to the extensions folder will crash this version).

  14. Great extension! Thanks!

  15. Johnny says:

    does this work with the latest version of blogengine? Can it play swf files too? thanks

  16. John Dyer says:

    Yes, it should work with all versions of BE.NET. But, not it will not play swf files. It is an SWF file that plays FLVs and MP4s.

  17. Why is that I don’t see people using this platform? If there is only a few. Is this platform only for techie guys?

  18. I agree. I don’t see typical blogger use this blogging platform, why? Is this for techie guys only? Hmm probably in time I will consider having this as my blogging platform.

  19. Equivalent applies to ‘Likes’ – as soon as the pages get, any sort of
    ‘wants’ originating off which account in addition vanish..

    Twitter displays 20 tweets in a instant on your own people profile plus this is why you really need to consider your very best to help keep
    your proportion all-around ten:one.. There’s always something better you can know by using Playbill’s Twitter feed.


  20. Amazing issues here. I am very satisfied to see your article.

    Thank you a lot and I’m looking ahead to contact you.
    Will you please drop me a mail?

  21. Attractive section of content. I just stumbled upon your web site and in accession capital to assert that I acquire actually enjoyed account your blog posts.
    Any way I’ll be subscribing to your feeds and even I
    achievement you access consistently fast.

  22. Excellent post. I was checking constantly this blog and I’m impressed!

    Extremely helpful info specifically the last part :
    ) I care for such information a lot. I was looking for this particular
    info for a very long time. Thank you and best of luck.

  23. Harper Green says:

    Hello, great information and an interesting article post, it will be exciting if this is
    still the situation in a few years time

  24. One of the superior items i’ve seen in the week.

  25. Beatris says:

    I’m not sure exactly why but this site is loading
    incredibly slow for me. Is anyone else having this
    issue or is it a issue on my end? I’ll check back later on and see
    if the problem still exists.

  26. Appreciate the гecommendation. Will try іt out.

  27. Great info. Lucky me I found your website by accident (stumbleupon).
    I’ve book-marked it for later!

  28. Let’s stop and appreciate all the amazing “purple flowers” that surround us every
    day, whether hey be the ffood we eat, the bushes
    blooming, or the raindrops. But to be fair, myy Hispanic mother’s
    side of thee family was very sociable and loved to play cards till all hours of
    the nigh annd ballroom dance. It is also easier to avoid alcohol, which should definitely be avoided on a first meeting.

  29. games says:

    This post will help the internet visitors for setting up new blog or even a blog from start to end.

  30. ” (if you know a bit about yoga yourself) or “I’ve never tried yoga, would you recommend it.

    Their products are of the finest quality and they sell them at
    a competitive price. You’ll often find maternity slections in very good
    condition from Motherhood, Liz Lange, and Old Navy.

  31. instakut says:

    whoah this blog is magnificent i love reading your posts.
    Stay up the great work! You realize, a lot of individuals are searching round for this information, you could help them greatly.

  32. Thank you for another excellent article. Where else could
    anyone get that kind of info in such an ideal manner of writing?
    I’ve a presentation subsequent week, and I am on the look for such information.

  33. Cheers for the article. Just curious if there was as wway
    for us to speak?

  34. You can simply get done by simply mounting new windows on old
    window frames. After you take are of the opposition, follow the
    steps in the Tomb Raider Underworld section below entitled “Climbing the Exterior of the Stone Headdress Temple” to make it into the temple.

    Now, backwards jump from the ledge and land on the balance beam on the pillar outside.

  35. Goodd article! We are linking to this particularly great post on ouur website.
    Keep up the good writing.

  36. Remarkable things here. I am very satisfied
    to look your article. Thanks a lot and I am taking a look ahead to contact you.

    Will you kindly drop me a e-mail?

  37. These days hair transplantation does not leaves scars and are heal
    very quickly. You should be seriously thorough buying Cost
    Of Hair surgery because a hair transplant of which goes completely wrong is an extremely
    general public idea your face is Doctor Hair Transplant usually presented as well as the stay away from would be to ought to make clear yourself to
    the globe with what developed. It was compared to closure with metal staples in a bilateral controlled study.

  38. The ease of being able to charge at home as well as in transit is well
    worth the added cost. There are mobile manufacturers in the market who give out certain products with their mobile phones.
    They are at ease to get on and off the phone, which is Amazingly crucial.

  39. Thanks to my father who shared with me about this webpage, this blog is truly remarkable.

  40. says:

    This text is worth everyone’s attention. How can I find out more?

  41. Thanks in favor of sharing such a good thought, post is good,
    thats why i have read it completely

  42. Mathis remains in force to this day, having released 2 new-found albums in the the first part of 00s and continuing
    to do on a regular basis. If you like taking your dad out
    for a meal on father’s day you’ll need to plan ahead and book in advance because pubs and restaurants book up quick.
    With so many names in the market, online shopping websites chart out their unique strategies to survive
    in the competitive market.

  43. cookware says:

    The company has a lengthy reputation for top quality by kitchen reviewers,
    giving this cookware the highest scoring reviews of kitchen product lines.
    Often,you save a lot of money and time if you opt for online shopping of theseproducts.

    This CIA cookware can also be used in the oven with heat up to 500°F (try doing that with a wimpy metal pan or one with
    plastic handles).

  44. Greetings from Florida! I’m bored at work so I decided to browse your site on my iphone during lunch break.
    I enjoy the knowledge you provide here and can’t wait to take a look when I get home.
    I’m shocked at how quick your blog loaded on my cell phone
    .. I’m noot even using WIFI, just 3G .. Anyhow,
    great site!

  45. die alone says:

    I really did not want to kill myself; what I really wanted was my original life back with the love
    and support of my family and the return of my good health that I had enjoyed before this infection (and taken for granted).

    These individuals will not die alone—whether they ever get
    married or not. Someone needs to focus on picking them off so that
    your party will survive.

  46. This Belkin iPhone running situation is loved by many and that’s due to
    the many great qualities and functions.

  47. Dian says:

    After going over a number of the blog articles on your web
    site, I honestly appreciate your technique of blogging.
    I saved it to my bookmark site list and will be checking back soon. Please visit my website too and tell me what you think.

  48. This paragraph will assist the internet people for creating new weblog
    or even a weblog from start to end.
    my invitation code is f12123242 for appjoy and appnana

  49. Oliver says:

    It’s very simple to find out any topic on net as compared to
    textbooks, as I found this paragraph at this web page.

  50. dailymotion says:

    Hello to every single one, it’s in fact a nice for me to go to see this web
    page, it includes priceless Information.

  51. Hi there to every one, because I am genuinely keen of reeading
    this weblog’s post to be updated on a regular basis. It contains pleasant data.

  52. Metal is the element of this sector, and would attract positive Ch’i.
    A METAL grill is the most ‘yang’ or active
    energy, which will focus and contain the most heat. Water fountains are basically put under the water just to make the overall premises stunning or lucrative.

  53. Frederic says:

    I like looking through a post that will make men and women think.
    Also, many thanks for permitting me to comment!

Hi, I'm John Dyer. In my day job, I build websites and create online seminary software for a seminary in Dallas. I also like to release open source tools including a pretty popular HTML5 video player and build tools that help people find best bible commentaries and do bible study. And just for fun, I also wrote a book on the theology of technology and media.

Fork me on GitHub

Social Widgets powered by