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 ‘http://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 🙂
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
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.