<视频>标签不起作用。 [英] <video> tag not working.

查看:74
本文介绍了<视频>标签不起作用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些非常简单的代码可以与IE9一起使用但不适用于Chrome和其他浏览器。

I have some very simple code that should work with IE9 but does not, it will work with Chrome and other browsers.


        <video id="VideoPlayer" autoplay="autoplay" controls="controls">
            <source src="BigBuck.m4v" type="video/mp4" />
        </video>

推荐答案

使用mp4延伸档名i / o mv4(仅限MAC格式)... IE安全区域设置为"打开基于内容的文件,而不是文件扩展名"....您和您的用户被假定使用默认安全区域设置。

use an mp4 file extension i/o mv4 (is a MAC only format)... there is an IE Security zone setting to "Open files based on content, not file extension".... you and your users are assumed to be using the default security zone settings.

问候。


这篇关于&lt;视频&GT;标签不起作用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆