Embed a YouTube Video in a BlogEngine.Net Post

As I continued to wade through and cleanse my previous posts I noticed that the tags to embed a YouTube video were stripped out.  A quick search led me to this forum discussion.  I added the line of code mentioned and now I can embed YouTube videos within my posts again. The changed code is as follows:

 

// Theme options
		theme_advanced_buttons1: "fullscreen,code,|,cut,copy,paste,pastetext,pasteword,|,undo,redo,|,bold,italic,underline,strikethrough,|,blockquote,sub,sup,|,justifyleft,justifycenter,justifyright,|,bullist,numlist,outdent,indent",
		theme_advanced_buttons2: "iespell,link,unlink,removeformat,cleanup,charmap,emotions,|,formatselect,fontselect,fontsizeselect,|,forecolor,backcolor,insertcode",
        theme_advanced_buttons3: "",
		theme_advanced_toolbar_location: "top",
		theme_advanced_toolbar_align: "left",
		theme_advanced_statusbar_location: "bottom",
		theme_advanced_resizing: true,
        theme_advanced_resize_horizontal : false,
        tab_focus: ":prev,:next",
		//>> 001 110514
        extended_valid_elements: "iframe[src|class|width|height|name|align]",
		//<< 001 110514
        //Character count

 

Add comment

Reading Stuff

Information in this document subject to change without notice.
All Software source code published is for demonstration and knowledge sharing purposes only. The Code is supplied "as is" without warranty as to result, performance or merchantability. Use at your own risk.
The opinions expressed herein are the opinions of the author and do not reflect those of any other entity.