I think that the rich text editor should support iFrames. My users are trying to embed their videos from youtube into their pages but can’t because the Rich Text Widget doesn’t allow them to. I know that it can be put inside an HTML widget but that doesn’t help my end users. They have zero experience in writing HTML code so they don’t know how to properly format the code.
My users need to be able to embed a video in the middle of text and can’t right now.
It is absolutely possible to embed a video in a Rich Text Widget. When the user goes to copy the embed code on YouTube, they need to click the “Use old embed code” checkbox to get the supported embed format.
For example, we use this embed code in our help site:
<object data="http://www.youtube.com/v/7J6x_KoKgig?hl=en_US&version=3&rel=0" height="360" type="application/x-shockwave-flash" width="640"><param name="data" value="http://www.youtube.com/v/7J6x_KoKgig?hl=en_US&version=3&rel=0">
<param name="allowFullScreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="src" value="http://www.youtube.com/v/7J6x_KoKgig?hl=en_US&version=3&rel=0">
<param name="allowfullscreen" value="true"></object>
To add to this, standard iframes work as well, you simply need to add a non-breaking space between the opening and closing iframe tags so that the editor wont strip the tag due to its appearance of being empty. For example:
<iframe width="560" height="315" src="//www.youtube.com/embed/UkqgD7TnLVE" frameborder="0" allowfullscreen> </iframe>
Glad to hear that there is a work-around for this, as this is an essential feature for us.
However, it still seems that there is still an issue that needs to be addressed - having to insert something between the tags is a non-standard requirement, and requires un-necessary training for users who know just enough HTML to copy and paste embed code into the editor, and then are frustrated when it strips out the empty tags.
Please consider fixing this.
What about this one? http://www.cfcms.nl/tinymce-youtube/i…
Go to Insert > Insert Video. I find this super useful and will it add on the next CM1 update?
We will be doing lots of youtube videos and wanted to make it easy for our staffs/facilities. Thanks.
In Version 4.1, we updated the Rich Text Widget to support iframes, and therefore the current youtube embed code.
We just updated to 4.0.5 last week
Is the 4.1 stable enough? Last time I heard, the only issue was the publishing in 4.x. Let me know before we can upgrade. Thanks!
We are upgrading to 4.1 soon (from 3.4), but I need to get a video on today. Is there any workaround currently available to insert a youtube video into a rich text widget? I don’t see the “old embed code” option in youtube.
I have searched all over your site and forums and this thread is the only thing I’ve come across to help embed Youtube videos in the WYSIWYG editor. Definitely not the ease of use we were promised.
Take a look at Nathaniel’s response above (3rd from top). Simple use the iframe code and add a non-breaking space code so the Rich-text Widget won’t strip it away.
I tried that already with no luck. I’ll try again.
That worked, thanks Armani. I was also able to make it work with Dan’s code (first response in this thread) With both codes, all i did was sub out the video ID.
You are awesome Armani! I can always count on you.
haha Thank you John. Glad to be able to help you solve your issues.
FYI you can give praise on this forum as well. Your Appreciation is Appreciated lol
I noticed TinyMCE have the ability to insert (embed, etc.) Video (see screenshot attached). Is there a reason why it wasn’t implemented in Percussion RTE? Thanks!
Clicking “Embed” tab will allow you to paste any video embed. See attached.