How to play wmv files in html5 video player
Asked Answered
S

6

23

Is there any way to play .wmv files using html5 video player?

Scarrow answered 16/12, 2010 at 10:47 Comment(6)
In what browsers on what platforms?Chigoe
how about converting them to webm or mp4?Pollster
@Pekka: i am using html5 for browser independence only. i am hopping that all browser in future will support it.Scarrow
very hardly. WMV is a proprietary format. You should probably think about switching video formats insteadChigoe
You can use JW silverlight player to play your wmv.Endamage
Is this still the case or is there a worked is available to use HTML5 video with wmv format?Varini
F
32

There is no way. No browser (currently, if ever) supports playing wmv files. You will have to convert it into a format that browsers know how to play.

Feticide answered 16/12, 2010 at 10:51 Comment(2)
Technically, I think he's correct. while a .wmv will "work" inside of IE and only IE I think i've seen enough bugginess and crashing from doing this that I can with a clear conscience agree with him on this even though this is answer has zero intended seriousness.Refresh
Can you please give free online web-based wmv converter to mp4 or webm? so that people coming to this answer have 100% solutionBrigadier
B
12

That's not true. Wmv files CAN play in IE with the windows media player object.

Example:

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="480"
        height="360" codebase="http://www.microsoft.com/Windows/MediaPlayer/">
   <param name="Filename" value="http://walkernewsdownload.googlepages.com/HP-iPaq-614.wmv">
   <param name="AutoStart" value="true">
   <param name="ShowControls" value="true">
   <param name="BufferingTime" value="2">
   <param name="ShowStatusBar" value="true">
   <param name="AutoSize" value="true">
   <param name="InvokeURLs" value="false">
   <embed src="http://walkernewsdownload.googlepages.com/HP-iPaq-614.wmv"
          type="application/x-mplayer2" autostart="1" enabled="1" showstatusbar="1"
          showdisplay="1" showcontrols="1" 
          pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" 
          CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" width="480" height="360"></embed>
</object>

You might need to install the Windows Media Player plug-in for your browser (if it is still available for your browser)

Credit: See http://www.walkernews.net/2008/08/17/windows-media-player-how-to-embed-wmv-file-in-html-code/ for a more thorough explanation.

Bullard answered 2/2, 2012 at 18:49 Comment(2)
Welcome to Stack Overflow! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.Revell
The question asked if it was possible using "html5 video player." The solution you linked to did not use the video tag.Extroversion
Z
1

AFAIK, the only way to play WMV files in a browser without resorting to embedding WMP is using Silverlight.

Zerlina answered 7/6, 2011 at 9:4 Comment(0)
N
1

Mediaelement.js player documentation says, support to wmv and mov, but so far i have not seen any positive or success comments for these formats.Formats like wmv and mov are proprietary, so to play video user need to explicitly install browser based plugins. Latest version of Firefox doesn't support wmv directly, there is a work around.To support mov format,user need to have quicktime player install in the system.Go for players that supports Flash fallback for non HTML5 browsers.

WMV plugin for firefox

Firefox Documentation:

Nonconformance answered 4/3, 2015 at 7:10 Comment(0)
G
0

Heh, you would think IE would support it as WMV was a Microsoft format and IE is a Microsoft application. Interesting how they don't seem to mix.

Regardless, I hope that WMV will be supported in the future. Technically speaking, all current video formats except for OGG are proprietary. OGG is the only open platform codec.

Girand answered 21/2, 2011 at 15:43 Comment(0)
B
0

Sorry, but actually isn't supported in google chrome, safari, Opera and firefox...

You can use any programs to pass WMV to MP4 files, supported :)

I hope this reply has helped you a lot!

Brothers answered 18/10, 2013 at 13:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.