我真的很难理解为什么我写的代码没有加载视频。我收到一个错误,说找不到视频,但它就在那里。我认为这是我嵌入的问题。
<script type="text/javascript" src="https://d22dpplejhrt07.cloudfront.net/jwplayer.js"></script>
<div id="mediaplayer">This text will be replaced</div>
<script type="text/javascript">
jwplayer("mediaplayer").setup({
flashplayer: "https://d22dpplejhrt07.cloudfront.net/player.swf",
file: "rtmp://s12djcvw3migda.cloudfront.net/cfx/st/mp4:finalSW.mp4",
backcolor: "000000",
frontcolor: "FFFFFF",
autostart: "true",
controlbar: "bottom",
width: "550px",
height: "309px"
});
</script>
播放器位于S3上,我创建了一个网络发布和视频文件,我创建了一个RTMP发行版。
我真的无法理解为什么这不起作用,任何帮助都会很棒。
答案 0 :(得分:0)
由于您使用的是JW5,因此需要单独使用文件/流媒体。
http://www.longtailvideo.com/support/jw5/31145/rtmp-streaming