gpt4 book ai didi

mediaelement.js - 什么是模式 :shim actually doing?

转载 作者:行者123 更新时间:2023-12-04 17:39:19 26 4
gpt4 key购买 nike

什么mode:shim做?

我在这个网站上搜索了一种强制闪光的方法。代码开发人员针对遇到我所面临的确切问题的某个人的问题写了这个答案:

MediaElement.js - force Chrome to use flash player?

我的观察是现代浏览器加载一个 html5 组件,然后切换到 Flash,但它的实际行为非常令人困惑。

最佳答案

正如你所说,它会强制闪存回退。在现代浏览器的情况下,html5 视频的初始化将被 flash 回退否决。

// allows testing on HTML5, flash, silverlight
// auto: attempts to detect what the browser can do
// auto_plugin: prefer plugins and then attempt native HTML5
// native: forces HTML5 playback
// shim: disallows HTML5, will attempt either Flash or Silverlight
// none: forces fallback view

关于mediaelement.js - 什么是模式 :shim actually doing?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8084587/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com