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

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

问题描述

我创建了一些在 Firefox 和 Chrome 中运行良好但在 IE 10 中运行良好的动画 .gif.有什么办法可以解决这个问题?只需尝试在各种浏览器中查看下图.

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.

无赖.

SO 不言而喻,但如果有人知道或找到检测 GIF 动画容量的方法,请告诉我们!!

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

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