MediaElement.js - HTML5 Video & Audio Player
[resolved] MP4 inline post is broken for [video mp4="url to media".mp4 (6 posts)

  1. jolenen
    Posted 3 years ago #

    Looks like this great feature to view MP4s inside of post page is not working with the new WordPress 3.2.1 release. Would love to see this working again.

    [video mp4 = "url to media".mp4]
    [video src = "url to media".mp4]

  2. justderek
    Posted 3 years ago #

    I see two things wrong with your implementations:

    1. They have spaces before and after the equals sign which can't be there
    2. The .mp4 file extension has to be inside the quotation marks

    Example that should work:

    [video src="http://yoursite.com/yourvideo.mp4"]

  3. jolenen
    Posted 3 years ago #

    Thanks justderek.
    I had a typo in my email, but the actual implementation had no spaces between left and right = and the mp4 was inside the quotes.

    [video src="http://www.fosterfelines.com/wp-content/uploads/2011/07/2011-July-Taiko-Drum-Attack.mp4"]

    Should the content be right off the root of the folder?

  4. justderek
    Posted 3 years ago #

    If what you have above is your exact implementation of the shortcode in your post, it should work. Does nothing at all show up where the video should be? Or do you see the text of your shortcode – that might happen if you used the visual editor instead of the HTML tab on your "Edit Post" page.

    As long as the path to the content in your URL is accurate it should work, and there's no point moving your mp4 file closer to the root of your blog... is that what you were asking? The structure of your uploads folder & sub-directories looks the same as what I use.

  5. jolenen
    Posted 3 years ago #

  6. jolenen
    Posted 3 years ago #

    Looks like it works now (WP 3.2.1) and MediaElement.js (2.1.7). Reinstalled MediaElement.js and that seemed to fix it.

    Thanks justderek for your help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic