Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rain3r.walt3r

    (@rain3rwalt3r)

    I am using this shortcode:

    [video mp4="https://mywebsite.com/wp-content/uploads/2011/03/mp4video.mp4" video ogg="https://mywebsite.com/wp-content/uploads/2011/03/theoravideo.ogv" webm="https://mywebsite.com/wp-content/uploads/2011/03/webmvideo.webm" poster="https://mywebsite.com/wp-content/uploads/2011/02/picture.png" preload="true" width="480" height="270"]

    So actually it should run fine in Firefox but it doesn’t.

    PS: Today I updated FF to version 9 but still having the same problem.

    Try without the second “video” keyword in the shortcode. It should look like this:
    [video mp4="https://mywebsite.com/wp-content/uploads/2011/03/mp4video.mp4" ogg="https://mywebsite.com/wp-content/uploads/2011/03/theoravideo.ogv" webm="https://mywebsite.com/wp-content/uploads/2011/03/webmvideo.webm" poster="https://mywebsite.com/wp-content/uploads/2011/02/picture.png" preload="true" width="480" height="270"]

    Thread Starter rain3r.walt3r

    (@rain3rwalt3r)

    Oh, that was just a typo I made only here. My problem was I didn’t had set the correct mime-types in my .htaccess file. After following this tutorial all was fine:


    Ensure your server is using the correct mime-types. Firefox will not play the Ogg video if the mime-type is wrong. Place these lines in your .htaccess file to send the correct mime-types to browsers

    AddType video/ogg .ogv
    AddType video/mp4 .mp4
    AddType video/webm .webm

    Thanks for the help web4ceone. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: MediaElement.js – HTML5 Video & Audio Player] MediaElements.js WordPress 3.3’ is closed to new replies.