TinyMCE in Livestreet 0.4.1 "tweaks" the inserted Youtube code

    Faced this problem today, it hangs quite opaque on the surface: from under Firefox and Chrome, inserting video from services like Youtube works fine, and it is inserted and displayed, but in IE the inserted video is displayed with a broken link.

    The solution turned out to be quite simple (an example is given for the default template new):

    In files: We add the parameter media_strict: false to the initialization of TinyMCE. After that, the contents of the add.tpl files will look something like this:

    /plugins/page/templates/skin/default/actions/ActionPage/add.tpl
    /templates/skin/new/actions/ActionTalk/add.tpl
    /templates/skin/new/actions/ActionTopic/add.tpl




    tinyMCE.init({
    ...
    media_strict : false,
    ...
    });

    Also popular now: