How to add video in blog post?

Topics: Customizing Orchard, General
Apr 1, 2013 at 5:50 AM
Hi,
I want to add you tube video when creating new post. Can you please let me know how to upload video using orchard blog source?
Coordinator
Apr 1, 2013 at 8:43 AM
You do not upload a video to YouTube from Orchard, you do it from YouTube. Then, you can copy the embed code into your post's body source.
Apr 1, 2013 at 9:16 AM
Hi,
I have used the embed code in body source but it displayed as html element. can you please let me know how to add the embedded video source?

My Code:
<iframe width="560" height="315" frameborder="0" allowfullscreen="" src="embedded video link"></iframe >
Developer
Apr 1, 2013 at 10:41 AM
Edited Apr 1, 2013 at 10:41 AM
In the body text, when you make something bold or italics, does the page render as expected? The reason I'm asking is because I suspect you either pasted in the <iframe> code in the HTML editor wysiwyg mode instead of HTML mode, or you have a template override for the body part that renders the body part in an encoded fashion (instead using Html.Raw).