Embedding media (You-tube) in the main posts?

Topics: Controls
Nov 15, 2010 at 11:46 PM
Edited Nov 15, 2010 at 11:52 PM

Now my client would like to have you-tube video clips embedded in the daily posts. When I go into the widgets, I can see where there is a place to insert/embed media - but on the main posts on the control panel under the Add Entry tab, ther is no selection to embed media. How do I do this? Is it possible?Do I need to add the Media option to another .aspx page? If so - which one please?

As always, any help is greatly appreciated!



Nov 16, 2010 at 7:15 PM

The way I do it is using the YouTube embed code and pasting it into the post, between <p> tags, in the HTML viewer. Seems to work for me. There is an Extension that allows you to show a video by entering the URL. You get the extension from: http://www.dotnetblogengine.net/page/Extensions.aspx

Nov 16, 2010 at 7:50 PM

Maybe I am doing something wrong. I followed the instructions in link you sent: added the unzipped file to my App_Code/Extensions directory, checked the extension panel in my control panel (it's there) and pasted the code [ youtube:YourVideoCodeGoesHere ] (without the spaces) into my daily post (add entry) and copied the code for the YouTube video into it:

<p style="text-align:center">[youtube:http://www.youtube.com/watch?v=GmijlOwnXuE&amp;feature=relate]</p>

I get a blank white box.  (shrugs) I have no idea what I did wrong...any help would be appreciated. Thanks!


Nov 16, 2010 at 8:12 PM
Edited Nov 16, 2010 at 8:13 PM

Hey, I think I confused you. I meant to give you 2 options.

1) The <p> tag option only works with the Youtube generated embed code.

<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/bD-bz2rFCug?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/bD-bz2rFCug?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>


2) For the extension code, all you need is the video ID number, or everything after "v=" and before "&amp;" in the code above. (GmijlOwnXuE)

I only use 1, as I found the extension restricting.

Nov 16, 2010 at 8:22 PM

Yep - that's me, dazed & confused! Can you tell I'm not a YouTube junkie of any sort? lol! But now that I removed all the garbage from the extension tag, it works perfectly - thank you very much!

Nov 23, 2010 at 4:42 PM

Use livewriter ..

It works beautifully.

You only need the LiveWriter component of Windows Live. Been using it for 2 years since 1.4. works much better than the blogengine posting procedure. It does Pages too.