• The new mediaelement video player inside tinymce is awesome, but I found that sometimes it does not load properly.
    Here is what the steps I followed :
    1. Install a fresh new WordPress 3.9 beta 3 instance on my local machine
    2. Create a new post, and click on “Add Media” button
    3. Select a video from my hard drive and upload it, then insert it into the post with “Embed Media Player” option selected.
    4. The mediaelement player is working well inside tinymce. I can play the video, edit it, add a poster image …
    5. Save the post, then navigate away and come back to the post edition page : the tinymce iframe is void and my browser is constantly loading something (Ubuntu/Chromium). I cannot click anywhere on the page and cannot close the browser tab. On Firefox, I have a message after 30 seconds : “Warning, the script does not respond” : wp-includes/js/jquery.js

    I tried with define('SCRIPT_DEBUG', true); and I do not have any theme or plugin installed.

    If I stop the script execution, I can still click on the edit button to change the video settings, and mediaelement player works great in the edition page. It also works great when I display the video on the front-end site, or via the Media menu. But mediaelement player is dead inside tinymce.

Viewing 5 replies - 1 through 5 (of 5 total)
  • what video type is it?

    Thread Starter Fabien Quatravaux

    (@fab1en)

    I tried with a WebM one and a MP4 with H264 codec. The result is the same.
    I don’t think that the video type is involved here, because the player is working well via the Media menu and within the Backbone Media Library.

    I think it’s a conflict with the new Tinymce 4.0. I’ll try to downgrade to the previous version to see what happens.

    Do you see any other debug directions in which I could look ?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    3. Select a video from my hard drive and upload it, then insert it into the post with “Embed Media Player” option selected.
    4. The mediaelement player is working well inside tinymce. I can play the video, edit it, add a poster image …

    Huh….

    With an MP4, I don’t get the ‘Embed Media Player’ right away. I had to close and go back into the media modal

    No embed option

    Once I save and go back I can embed, though it doesn’t show the player:

    Embed noplayer

    The editor works though:

    Editor player

    Thread Starter Fabien Quatravaux

    (@fab1en)

    Thanks Mika for your support.
    I do not reproduce exactly the same behavior as the one you are describing : for me, the “Embed Media Player” shows right after the video upload, without the need to close and go back into the media modal. And then, the media player is working fine. I have to save the post, go to WP Dashboard and then come back to my post edit screen to see the bug.

    @scott : I tried the same test with 3.9 RC1 published yesterday, and the bug is gone. I can still reproduce it with the 3.9 beta 3 if you are interested to debug this strange behavior.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If your issues are fixed in RC1, we’re good ?? I’m marking this resolved (and will bang on my own tests)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Video player does not load inside tinymce when editing post’ is closed to new replies.