YouTube BlogEngine.NET Extension

by percent20 11/4/2007 4:02:00 PM

I have created an extension that you basically add a link to a youtube video and it will add the video to play in your post. SO has an example here is a video of my Paintball gun. As of right now to use it.  Hit the HTML button in the menu above and past the url in there and make sure there is a space before and after the url then hit update.  As of right now it only does one video per post. Enjoy.

http://youtube.com/watch?v=C8DOY1FfIqU
 

YouTube.cs (1.60 kb) (Updated :on 11-05-07)

Update 1- code to allow more characters before and after the url. 

Just add to your extensions folder in App_Data folder. 

 
Edit: To use this all you have to do is add the url to your page.  That is it. No special codes or anything JUST the url in your post.

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

BlogEngine.NET

Related posts

Comments

11/4/2007 5:28:21 PM

negy

Can you give a example,how to add it to my page,thanks!

negy cn

11/5/2007 2:08:48 PM

percent20

That is the great thing. All you have to do is add the URL to the page, and that is it.

I just updated the code to make it work a bit better so please grab the latest version.

percent20 us

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

5/17/2008 1:03:17 AM

Powered by BlogEngine.NET 1.3.0.0
Theme by Mads Kristensen


My Flare

AddThis Feed Button

National Blog Posting Month

Eagle Scout

I'm Test Driven

[Reserved for MVP status I want to earn]

View Buddy Lindsey's profile on LinkedIn

Twitter



Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Sign in