【发布时间】:2016-11-08 03:19:33
【问题描述】:
JW Player 无法播放 HLS。这是我的页面 HTML 代码:
<!DOCTYPE>
<html>
<head>
<script src='https://content.jwplatform.com/libraries/7XBRYUMN.js'></script>
<script>jwplayer.key="***";</script>
</head>
<body>
<div id="my-video"></div>
<script type="text/javascript">
jwplayer("my-video").setup({
file: "http://esioslive6-i.akamaihd.net/hls/live/202892/AL_P_ESP1_FR_FRA/playlist.m3u8",
width: 400,
height: 240,
title: "video",
hlshtml: true,
type: "hls",
androidhls: true
});
</script>
</body>
</html>
播放器总是显示:加载播放器时出错:找不到可播放的源。 HLS在线查看http://demo.jwplayer.com/stream-tester/ HLS 正确再现。 我的错误是什么?
【问题讨论】:
-
您使用的是免费版许可证密钥。带有 JW Player 的 HLS 至少需要一个高级版 - 每年花费 299 美元:jwplayer.com/pricing
标签: video-streaming html5-video jwplayer live-streaming http-live-streaming