swfobject 无法在 iOS 上工作

swfobject not working on iOS

我正在尝试使用 Javascript API 嵌入 Twitch 播放器 - 这里是如何使用 swfobject 嵌入播放器的文档 - 不过 https://github.com/justintv/Twitch-API/blob/master/player.md. My Problem is that the code works great on desktop, but on mobile browsers - iOS (I haven't had a chance to check Android yet) script simply doesn't embed a video. It works when I use iframe method。 iOS 是否有任何修复程序可以使用 JS API 和 swfobject?

swfobject 是 Fl​​ash 播放器 (swf = ShockWave Flash)。 Flash 不会,也永远不会在 iOS 上工作。 iframe 方法运行检测 OS 的编码器,并在 iOS 上加载本机 iOS 播放器,并为其他所有内容闪烁。您需要复制该功能。