Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I play wmv video in HTML player?

I want to Play wmv video in browser, and place header and footer in the page. I am unable to play mp4 video, but I want to play wmv. I google it but unable to find anything. Kindly guide me ho to play wmv video from HTML page.

like image 858
user3480644 Avatar asked Apr 24 '14 04:04

user3480644


1 Answers

You cannot play WMV files in HTML5 video. This has been answered here.

If you want to play video cross browser with HTML5 video you have to transcode your WMV file (currently to MP4 and WebM). Have a look here for a take on HTML5 video.

To embed WMV videos in a web page you have to use an object/embed tag that calls the windows media player plugin (if it is installed - ie it will not work in platforms where the plugin is not available like iOS). Have a look here for a working example.

like image 155
Arnaud Leyder Avatar answered Sep 26 '22 02:09

Arnaud Leyder