我正在使用 jwplayer,我想在其中添加像 720p、360p、260p 这样的高清切换,因为我正在使用下面的代码,但它给了我像“找不到可播放的源”这样的错误,
<html>
<head>
<script type="text/javascript" src='http://content.jwplatform.com/libraries/vHksukSC.js'></script>
</head>
<body>
<div id="container">Loading the player...</div>
<script>
var playerInstance = jwplayer("container");
playerInstance.setup({
image: "https://testvideoout.s3.amazonaws.com/Videos/Thumb/Thumb_Videos_29_1446555606635_00001.png",
sources: [{
file: "https://testvideoout.s3.amazonaws.com/Videos/Streaming/webm_Videos_66_1450099348116",
label: "720p HD"
},{
file: "https://testvideoout.s3.amazonaws.com/Videos/Streaming/webm_Videos_66_1450099348116",
label: "360p SD",
"default": "true"
},{
file: "https://testvideoout.s3.amazonaws.com/Videos/Streaming/webm_Videos_66_1450099348116",
label: "180p Web"
}]
});
</script>
</body>
</html>
作为参考,我正在使用这个网址
https://support.jwplayer.com/customer/portal/articles/1428524-hd-quality-toggling
谁能告诉我其中有什么问题?我尝试谷歌搜索,但没有得到任何解决方案