动画.GIF在IE 10中不起作用 [英] Animated .GIFs not working in IE 10

查看:134
本文介绍了动画.GIF在IE 10中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一些动画.gif文件,它们在Firefox和Chrome浏览器中效果很好,但在IE 10中却不能. 只需尝试在各种浏览器中查看以下图片即可.

I have created some animated .gifs which work well in Firefox and Chrome but not in IE 10. Is there any way of fixing this? Just try looking at the below image in various browsers.

推荐答案

据我所知,问题不在于您的页面或GIF动画本身.这是客户端上IE10(和其他版本)中的设置.您可以从IE的

From what I can see, the issue is not your page or the animated GIF itself. It is a setting in IE10 (and other versions) on the client. You can access the setting from IE's

Internet选项高级多媒体播放动画

选中此框应该会产生所需的结果.

Checking this box should yield the desired result.

但是我听到下一个问题:我可以检测我的用户是否选中了此框?

But I hear the next question: Can I detect whether my users have this box checked or not?

不幸的是,我找不到自动检测这种情况的方法. :-(

Unfortunately, I could not find a way to auto-detect this condition. :-(

我想您可以使用户完成设置过程(有点像观看高清电影时可以访问的音频/视频设置屏幕),但这似乎很笨拙.

I guess you could put the user through a setup process (kinda like the audio/video setup screen you can access when watching HD movies) but that seems clunky.

我还检查了Modernizr可能会有所帮助,但似乎没有帮助. Modernizr可以检测CSS3动画是否正在播放中,但似乎与IE中的此设置无关.

I also checked to see of Modernizr might help, but it does not seem to. Modernizr can detect whether CSS3 animations are in play but that does not seem to correlate with this setting in IE.

笨蛋.

不用说,但是,如果有人知道或找到检测GIF动画能力的方法,请让我们所有人知道!

这篇关于动画.GIF在IE 10中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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