我如何在HTML播放器中播放wmv视频? [英] How can i Play wmv video in HTML player?
问题描述
我想在浏览器中播放 wmv
视频,并在页面中放置页眉和页脚。我无法播放 mp4
视频,但我想播放 wmv
。我谷歌,但无法找到任何东西。请引导我从HTML页面播放 wmv
视频。 您无法在HTML5视频中播放WMV文件。这已被在这里回答。
如果要使用HTML5视频播放视频跨浏览器,则必须对WMV文件(当前为MP4和WebM)进行转码。
查看 HTML5视频。
要在网页中嵌入WMV视频,您必须使用调用Windows Media Player插件的对象/嵌入标记(如果已安装 - 即无法在插件不可用的平台上运行像iOS)。看看这里的工作示例。
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.
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.
这篇关于我如何在HTML播放器中播放wmv视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!