xml 播放列表中的比特率切换未加载视频
使用 JW Player 5.4 版和 JW Embedder。插件是 Dabbler 和 fbit (Facebook) 的 grid。比特率切换不起作用。对于带有 HTML5 视频标签的一个视频来说效果很好。当多个视频时,仅显示第一个视频图片。无需切换比特率即可正常工作。
代码 - HTML5
<script type="text/javascript" src="jwplayer/jwplayer.js"></script>
<video id="container"></div>
<script type="text/javascript">
jwplayer("container").setup({
flashplayer: "jwplayer/player.swf",
streamer: "rtmp://server/location/",
playlistfile: "playlists/playlist.xml",
plugins: {
grid: { rows: 4, distance: 60, horizontalmargin: 75, verticalmargin: 75 },
fbit: { link: "http://www.domain.com" }
},
height: 375,
width: 850,
dock: true
});
</script>
XML - ATOM/媒体
xmlns:jwplayer='http://developer.longtailvideo.com/trac/wiki/FlashFormats'> 演示播放列表
视频1 rtmp rtmp://服务器/位置/ 视频2 rtmp rtmp://服务器/位置/
已经尝试过使用容器的 video 和 div 标签。 Div 标签仅在第 1 行字符 1863 上显示空白视频区域和 Null 异常,这可能是 jwplayer.js 文件。 XML比这个大,这是为了给你一个我的代码和xml的简要语法。我已经在长尾搜索和搜索引擎搜索上搜索了超过 6 个小时。先感谢您。
Using JW Player ver 5.4 and JW Embedder. Plugins are grid by Dabbler and fbit (Facebook). The Bitrate switching is not working. Does work fine for one video with HTML5 Video tag. When more than one video, it only shows the first video pic. Works fine with no bitrate switching.
Code - HTML5
<script type="text/javascript" src="jwplayer/jwplayer.js"></script>
<video id="container"></div>
<script type="text/javascript">
jwplayer("container").setup({
flashplayer: "jwplayer/player.swf",
streamer: "rtmp://server/location/",
playlistfile: "playlists/playlist.xml",
plugins: {
grid: { rows: 4, distance: 60, horizontalmargin: 75, verticalmargin: 75 },
fbit: { link: "http://www.domain.com" }
},
height: 375,
width: 850,
dock: true
});
</script>
XML - ATOM/MEDIA
xmlns:jwplayer='http://developer.longtailvideo.com/trac/wiki/FlashFormats'>
Demostration Playlist
Video 1
rtmp
rtmp://server/location/
Video 2
rtmp
rtmp://server/location/
have tried it with both video and div tags for the container. Div tag just shows a blank video area and a Null exception on Line 1 char 1863, this is probably the jwplayer.js file. XML is larger than this, this is to give you a brief syntax of my code and xml. I have searched for over 6 hrs on both longtail and search engine searches. Thank you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我发现 您的问题长尾网站上引用的网站。
http://www.omniadiamond.com/index.php/client -list-rewrite?player=1
我尝试使用 jw-player-setup-wizard 与 flvplayer 与 rss 播放列表 和您的 playlist-test.xml 并且您的媒体服务器似乎存在一些问题(我并不是说这是唯一的问题,但这是一个开始!)
I found your problem site referenced on the Longtail site.
http://www.omniadiamond.com/index.php/client-list-rewrite?player=1
I tried using the jw-player-setup-wizard with a flvplayer with an rss playlist and your playlist-test.xml and there appears to be some problem with your media server (I'm not saying that is the only problem but it is a start!)
Dabber 已确认带有比特率切换功能的 Grid 插件出现错误,并正在与开发人员合作,尽快发布更新
Dabber has confirmed error with Grid plugin with bitrate switching and is working with developers to release an update shortly