• Resolved drchance

    (@drchance)


    This was briefly covered an a previous post about a year ago but I haven’t seen any full resolution.

    If I activate the YouTube Embed plugin, my TinyMCE editor will disappear. I can use the text editor but that is all.

    The only workaround for this (again, posted about a year ago) is to disable the “Show Editor Button” in YouTube Embed -> Options.

    https://www.ads-software.com/plugins/youtube-embed/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor David Artiss

    (@dartiss)

    Hi,

    Yes, I’m still aware this is an issue. However, only a small number of people are experiencing it, and that doesn’t include myself – as a result I’m unable to work out the cause. Unless somebody with the issue is prepared to give me full access to their site to try and debug it, I’m unlikely to get to the bottom of it.

    Sorry this isn’t more positive.

    David.

    Hi…I am experiencing the same issue. In chrome console I get this error which might explain things:

    Refused to execute script from ‘https://localhost:8888/test/wp-content/plugins/youtube-embed/js/mce4-button.min.php?wp-mce-4203-20150730’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.

    The PHP should have the correct header for javascript.
    So a fix for this is to insert:

    <?php header(‘Content-Type: application/javascript’); ?>

    into mce4-button.min.php

    Hope this finds it way into an update ??

    Plugin Contributor David Artiss

    (@dartiss)

    Absolutely – thanks for finding that. Without experiencing the same issue (odd!) I was unable to track this down.

    I’ll add this into the next release. Happy to thank you in the README – do you have a website or something I can link to?

    David.

    Hi David.
    No problem, Im just happy to help ??
    Mentioning by name is fine by me.

    I think the header might also have to be inserted in the unminified version.

    //Mark Aarhus

    Plugin Contributor David Artiss

    (@dartiss)

    I’ve just pushed out 3.3.4 with a few minor changes inc your suggested fix for the editor. Please let me know if this does the trick!

    David.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘TinyMCE Conflict’ is closed to new replies.