If you’ve installed version 2.6 you may notice the editor button has disappeared – this wasn’t the intention.
After releasing the new code I installed it on my own live site and noticed that this was occurring – unfortunately, I’d forgotten to test the new editor button code after minimising it, and this was the cause.
I have a new version available for release but don’t intend to do anything for a few days, in case any more problems are found.
If, meantime, you’d like a temporary fix to the problem you can do the following. Open up the file aye-add-mce-button.php from the plugin’s includes folder. Now find the line…
$plugin_array[ 'YouTube' ] = plugins_url() . '/youtube-embed/js/aye-mce-button.min.php';
And change it to..
$plugin_array[ 'YouTube' ] = plugins_url() . '/youtube-embed/js/aye-mce-button.php';
Apologies for any inconvenience caused.
Update – I’m now hearing lots of reports that this can also break the header fully.
You can either perform the above workaround or try out the beta for 2.6.1 – I will release the final version on Monday…
Forgot to say – if you try the beta can you please let me know if it resolves your problem?
Someone kindly tried to beta and reported that it fixed the issues above, so I am releasing 2.6.1 now.
Please let me know if there are any further problems.
Again, apologies for inconvenience.
Hi, I can say that 2.6.16 works well but 2.6.2 gives me this error:
Failed to load: [...]/wp-content/plugins/youtube-embed/js/aye-mce-button.min.php
and the TinyMCE editor goes away. If I put it back to 2.6.16 the error disappears.
There isn’t a version 2.6.16 of the plugin – do you mean 2.6.1? That error was actually in 2.6.1 and was fixed in 2.6.2. Have you got these versions the right way round?
Is there any more to that error or is that the full message?
Ah, no, that’s the beta version of 2.6.1 (i.e. 2.6.1b. Somehow I must have mistyped it.).
Ok, is there any more to the error message? I haven’t seen this error occur in 2.6.2 and without that message telling me any more I can’t imagine how I could recreate it.
I’m sorry, I can give you only this information and this:
Request URL: [...]/wp-content/plugins/youtube-embed/js/aye-mce-button.min.php?ver=349-21274 Request Method:GET Status Code:500 Internal Server Error
I don’t have other elements to understand where is the error. I’m using TinyMCE advanced and qTranslate if this can be useful and when I try to modify a post/page the TinyMCE’s wysiwyg disappears (’cause there is the above error).
Ok, thanks – that extra information was what I needed. IT’s basically saying it’s failing when trying to get that file, even though that’s the correct location for it.
It doesn’t look like an issue with my plugin but rather something something clashing – either the MCE advanced or the caching you have. Best thing to do is to go into the YouTube Embed options and deactivate the editor button.
OK, it works, thanks (even if I prefer to have the button :/)
I’m sure. If you get the chance switch the editor button back on and deactivate your other plugins one at a time – this should narrow down which one has caused it. If you let me know I can try and recreate it and, hopefully, fix it.
The problem was mine, and specifically concerns the execute permissions of the file aye-mce-button.min.php: it should be
chmod +x(or 744). Thanks anyway, I apologize for the inconvenience.
- The topic ‘[Plugin: Artiss YouTube Embed] YouTube Embed 2.6 and the editor button’ is closed to new replies.