Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 HTML5 JW 播放器。它可以正确调整 HTML5 视频的大小,但会缩小 Flash 后备播放器;这是一个示例页面:测试页面
如果您在 IE 中查看该页面,您会注意到在面板 5 上,视频小于它应该占用的空间。在 Firefox 上,它运行良好,因为它在其 HTML5 视频播放器中使用 OGG 视频。
有没有办法通过 JavaScript/jQuery 调整 Flash 视频的大小以适应与 HTML5 视频相同的空间?
也许是这样的?:
embed { width:100%; height:100%; }