我正在使用jwplayer,其中我想添加高清切換像720p,360p,260p,因爲我使用下面的代碼,但它給我錯誤,如「無法播放源發現」,jwplayer獲取錯誤「找不到可播放的源代碼」
<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
誰能告訴我是什麼問題呢?我嘗試了谷歌搜索,但沒有得到任何解決方案