• Resolved SmileWP

    (@anotheropus)


    Hello,

    After the WordPress upgrade to 4.2.4 embedded MP4 video fails to appear.

    (embedded using the default WordPress [embed] code)

    There is a space where the video should appear but no video.

    I deleted the existing code and re-inserted media, choosing the MP4 file again. The embed code appeared but the same thing happens–no video, just a blank space where it should fit.

    Notes: I cleared browser and server cache. I disabled all extensions and tested with Chrome, Firefox and MSIE.

    Since this is on the home page I installed a plugin to embed MP4 so there is a video there but the plugin is not the desired method.

    Has anyone else experienced MP4 video embeds failing after this upgrade?

    BTW just using the URL to the file fails as well.

    Thank you,

    Chris

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try using the video shortcode: https://codex.wordpress.org/Video_Shortcode

    If it’s still failing, please give us a link to the post with the problem.

    Thread Starter SmileWP

    (@anotheropus)

    Thank you James,

    The [video] short code is what appears when I embed the video.

    I’ve been using it.

    It worked fine until the latest WP update.

    Now it fails. There is a space where the video fits–no video.

    Here’s the link:

    http://mpima.com/mp4-video-embed-fail/

    When you view source you’ll see the video embedded there on line 165 (with the shortcode brackets converted to divs).

    Thanks again for the help.

    Chris

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    So, what’s happening is:

    <div class="x-video player" data-x-element="x_mejs"><div class="x-video-inner"><video class="x-mejs x-wp-video-shortcode advanced-controls" id="video-655-1" width="934" height="525" preload="auto" controls="controls"><source type="video/mp4" src="http://mpima.com/wp-content/uploads/sites/2/2015/04/2015-04-14-MPIMA-Landing-Page-Video.mp4?_=1" /></video></div></div>

    That seems to be correct, and it’s working fine on its own.

    Do you still have the same problem if you temporarily switch to the Twenty Fifteen theme?

    Thread Starter SmileWP

    (@anotheropus)

    Hey James,

    Thank you.

    I see that in the source code (esp. the X classes).

    So it seems that the X-Theme update that coincided with the release of WP 424 is what’s breaking the video display.

    When I switch the the TwentyTwelve theme the default WordPress video embed appears and functions 100% as it should.

    Please do not close this thread as I’ll point it out to X-Themes support.

    And I’ll report back here so others can learn how this is resolved.

    Ironically–even if I use the X-Themes video embed code it fails!

    In case anyone is having this issue I have a temporary work around so that my site will display and play MP4 videos.

    After testing several plugins I found that the evp embed works reliably, and while I dislike the player interface with the not so subtle flowplayer branding, at least it displays, plays and is 100% responsive (unlike some other plugins–including s3 Media Meastro, which I used to test sending the video from AWS S3–fail).

    Easy Video Player
    Easily embed videos into your WordPress blog
    Version 1.0.8 | By naa986 |

    Thank you for the help.

    Chris

    For any licensed X-themers here’s the support thread:

    https://theme.co/community/forums/topic/wordpress-mp4-video-embeds-fail-using-x-themes-but-work-using-twentytwelve/

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Thanks for sharing a work-around!

    Thread Starter SmileWP

    (@anotheropus)

    🙂

    I’ve been online literally since 1991, and casually developing since 1992, and finally professionally developing since 1996. And as a computer user literally, again, since 1981…

    I’ve learned one thing:

    The only reason the Internet, computers and everything on them work is because we users have developed workarounds to every engineer’s design.

    In fact if there was a coordinated effort (say on the scale of Google, Amazon, Ebay, Twitter and YouTube) to create a single purpose archives site called WorkArounds.com–it would break the internet.

    🙂

    Chris

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘MP4 video embeds fail after WordPress upgrade to 4.2.4’ is closed to new replies.