【发布时间】:2014-11-01 01:54:16
【问题描述】:
我正在尝试使用以下 URL 使用 JWPlayer 实现流式传输:rtmp://stream.technolutions.com/vod/mp4:0447d67935584a81986a0311443a7d9c.mp4。 我将此 RTMP URL 放在以下位置:
<script type="text/javascript">
jwplayer("modal-videoplayer-container-1").setup({
file: "rtmp://stream.technolutions.com/vod/mp4:0447d67935584a81986a0311443a7d9c.mp4",
image: "http://placehold.it/739x554/0000cc/&text=700x450",
width: 700,
height: 450
});
</script>
我了解 Application 和 Stream 之间存在差异,但在 VLC 中将此 URL 测试为远程视频效果很好。有什么想法吗?
【问题讨论】:
-
你能提供一个链接吗?
-
@EthanJWPlayer 是的,当然。 yale-preview.adoptive.co/content_videos.html 最后 2 个视频是尝试让 2 个不同的流工作。第一个是由我编写的 jquery 插件完成的,第二个是内联 JS,从 JW Player Docs 复制/粘贴。
-
您的 jw player flash swf 文件似乎没有正确上传,直接访问 url 会导致白页 - yale-preview.adoptive.co/scripts/vendor/jwplayer/…
-
@EthanJWPlayer,事实证明你是对的。您的一流支持人员库珀(Cooper)帮助我解决了这个问题。解决这个问题的方法是使用云托管版本的 JWPlayer,这样它就不会再被损坏了。
-
太棒了,很高兴你得到它。是的,库珀很棒:)
标签: streaming video-streaming jwplayer