Hi I am looking for some help. I am trying to embed a You Tube video onto my CMSMS site.
My process has been, source the video, copy code and embed on site.
I have managed to get the video to display on a content page type, but not on an item page type. Is the code not supported on item pages?
I am wrapping my code in literal tags, so
{literal}
<__iframe width="560" height="315" src="http://www.youtube.com/embed/11s9b-P_oLk" frameborder="0" allowfullscreen></__iframe>
{/literal} and using the content block code on the actual WYSIWYG editor.
As I say I have no problems when installed on a content page, just the item pages (where I need it to display)
Problem With Embedding You Tube
Re: Problem With Embedding You Tube
If you are using TinyMCE as your WYSIWYG editor you can go to the TinyMCE settings under "Extensions" and add the following line of code into the "Extra Configuration" under the "Advanced" tab:
That will allow TinyMCE to show and display iframes, objects and embed tags. If you are using MicroTiny, then I have no idea because I really dislike it and never use it lol
Code: Select all
extended_valid_elements : "iframe[marginheight|id|frameborder|scrolling|align|marginwidth|name|id|src|height|width], object[width|height|classid|codebase], param[name|value], embed[src|type|width|height|flashvars|wmode]"
~ Life is like water, every movement you make changes the way it flows ~
Re: Problem With Embedding You Tube
Using {literal} some code {/literal} is only needed if your code contains { } in it...
Be careful of adding youtube directly into the wysiwyg, I use GCB that have the wysiwyg turned of then call the GCB in the page content...
Be careful of adding youtube directly into the wysiwyg, I use GCB that have the wysiwyg turned of then call the GCB in the page content...