WordPress.org

Ready to get started?Download WordPress

Forums

MediaElement.js - HTML5 Video & Audio Player
WMV videos are not playing (6 posts)

  1. barellano
    Member
    Posted 10 months ago #

    Using a simple 5 second WMV with the following shortcode example:

    [video src="http://mydomain.com/media/video.wmv" type="video/wmv" ]

    WMV simply won't play in any browser. Browsers tested, Chrome (MAC), FireFox (MAC, Safari (MAC), IE8 (Windows 7). Silverlight is installed and all browsers are at latest version except IE.

    MediaElement.js - HTML5 Video & Audio Player plugin Version 2.10.3
    WordPress 3.6

    Have tried using source video from my web server as well as Amazon S3.

    http://wordpress.org/plugins/media-element-html5-video-and-audio-player/

  2. mbzo2006
    Member
    Posted 10 months ago #

    Same here. Won´t play WMV on any browser tested, including IE9.

    Here is the shortcode used in the wordpress post:

    [mejsvideo src="http://www.mysite.com/videos/filename.wmv" width="640" height="360"]

    Here is the generated html (firefox browser):

    <div class="mejs-mediaelement">
    
    <div style="width: 640px; height: 360px;" class="me-cannotplay"><a href="http://www.mysite.com/videos/filename.wmv"><span>Download File</span></a></div>
    
    <video style="display: none;" id="wp_mep_1" src="http://www.mysite.com/videos/filename.wmv" preload="none" height="360" width="640">		
    
    <object type="application/x-shockwave-flash" data="http://www.mysite.com/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement/flashmediaelement.swf" height="360" width="640">
    
    <param name="movie" value="http://www.mysite.com/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement/flashmediaelement.swf">
    
    <param name="flashvars" value="controls=true&file=http://www.mysite.com/videos/filename.wmv">			
    
    </object>
    </video>
    </div>
    
    <div class="mejs-layers"></div><div style="display: none;" class="mejs-controls"></div><div class="mejs-clear"></div>
  3. barellano
    Member
    Posted 10 months ago #

    According to the http://mediaelementjs.com/ site, WMV is a supported file type. I have yet to find a functional example of someone using WMV with Media Element JS. Has anyone verified that FLV's work?

  4. clarkedfewporg
    Member
    Posted 8 months ago #

    Same problem with WMA audio file in this post http://shastacosta.com/dwight/wp36-wma/
    which shows black box without player. This post http://shastacosta.com/dwight/wp36-mp3/ works great with mp3. This post uses <audio ..> tag, where WMA post uses [mejsaudio ..] shortcode. Shortcode was a second attempt after <audio ..> tag gave unwanted result, which was a "download file" function instead of a player. Does this suggest some missing MIME coding? Am I supposed to take care of that? If so, please tell me how.

  5. clarkedfewporg
    Member
    Posted 8 months ago #

    Sliverlight update on Mac/OS corrected my problem for desktop browsers (Safari, Chrome, Firefox, Opera). IOS devices (iPhone &iPad) still show same problem. That's with IOS6, BTW.

  6. fredwier
    Member
    Posted 7 months ago #

    it works for me, but only after adding "type="video/wmv" to the shortcode.

Reply

You must log in to post.

About this Plugin

About this Topic