Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan 1288 posts 3921 karma points c-trib
    Feb 12, 2014 @ 11:10
    Dan
    0

    Video embedding in RTE

    Hi,

    I did an upgrade on a site yesterday from 4.7.1 to 6.0.6 (with 4 steps in between). One of the things I was hoping to fix by doing the upgrade was to enable the client to add videos into the RTE, which was broken in 4.7.1.

    I don't know if I've missed any TinyMce config changes during the upgrade but this feature still doesn't seem to work. I click the 'embed third party media' button in the editor which opens the modal, paste in the URL of the video on YouTube or Vimeo - it previews nicely and the video embeds into the RTE on clicking 'insert'. However, this does not save correctly - the saved HTML is completely blank.

    Before I delve into the TinyMce config, I wondered if this is a known issue or if anyone knows what could have broken this during the upgrade? I see an issue in the tracker about this kind of thing but it's marked fixed.

    If it is a TinyMce config issue, does anyone have a working config that will handle media embedding correctly?

    Any quick pointers much appreciated.

    Thanks.

  • Dan 1288 posts 3921 karma points c-trib
    Feb 12, 2014 @ 11:51
    Dan
    100

    Sorted it. For the record, there were two issues. Firstly I noticed the HTML view in the RTE was always blank - even with no video embedded. There was a console error saying something like (can't reproduce it now!) tinymce object has no method "_add". I did a thorough cache clear and refresh which got rid of this error and allowed the HTML to be loaded in the HTML view. This still didn't resolve the video embed issue though.

    Secondly, I changed the value of <TidyEditorContent> in config/umbracoSettings.config from True to False, touched the web.config file and did another cache clear/refresh which seems to have done the trick.

    Hopefully this helps someone (probably me ;)) in future...

Please Sign in or register to post replies

Write your reply to:

Draft