xml 播放列表中的比特率切换未加载视频

发布于 2024-10-09 11:20:45 字数 1181 浏览 9 评论 0原文

使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

你げ笑在眉眼 2024-10-16 11:20:45

我发现 您的问题长尾网站上引用的网站。

http://www.omniadiamond.com/index.php/client -list-rewrite?player=1

我尝试使用 jw-player-setup-wizardflvplayer 与 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!)

贩梦商人 2024-10-16 11:20:45

Dabber 已确认带有比特率切换功能的 Grid 插件出现错误,并正在与开发人员合作,尽快发布更新

Dabber has confirmed error with Grid plugin with bitrate switching and is working with developers to release an update shortly

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文