jwplayer 嵌入最新的 Flash 和 html5 后端无法隐藏控件或添加自动播放和循环
嘿大家, 在不幸地意识到 Firefox 无法在我的服务器设置中很好地处理嵌入的 HTML5 视频后,我决定采用 JW Player 路线,因为它与 iPad 和 iPhone 兼容。
我可以让该文件显示在我的页面上,但它又大又重。我希望它只是视频,没有控件。自动播放和循环播放。
你能帮我一下吗?这是代码...
<div id="container">Loading the player ...</div>
jwplayer("container").setup({ flashplayer: "jwplayer/player.swf", file: "Video/fernando.m4v", height: 520, width: 780, }); <script type='text/javascript' src='swfobject.js'></script>
Hey all,
After the unfortunate realization that Firefox is just not going to play nice with an embedded HTML5 video with my server set up, I've decided to go the JW Player route, since it's compatible with iPads and iPhones.
I can get the file to show up on my page, but it's big and heavy. I would like for it to be just the video, no controls. Autoplay and on loop.
Can you help me out? Here's the code...
<div id="container">Loading the player ...</div>
jwplayer("container").setup({
flashplayer: "jwplayer/player.swf",
file: "Video/fernando.m4v",
height: 520,
width: 780,
});
<script type='text/javascript' src='swfobject.js'></script>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这对我有用!
This works for me!