这是我的代码:
var playerInstance = jwplayer("mySingleVideoWrapper").setup({
image: getCurrentPosterSrc,
sources: [
{
file: 'file-360.mp4',
label: "360p"
},{
file: 'file-480.mp4',
label: "480p"
},{
file: 'file-720.mp4',
label: "720p HD"
},{
file: 'file-1080.mp4',
label: "1080p HD"
}
],
width: "100%",
androidhls: 'true',
type: "hls",
fallback:true,
aspectratio: "16:9",
autostart: true,
logo: {
hide: true
},
tracks: [{
file: "/assets/captions-en.vtt",
label: "EN",
kind: "captions",
"default": true
},{
file: "/assets/captions-es.vtt",
label: "ES",
kind: "captions"
},{
file: "/assets/captions-fr.vtt",
kind: "captions",
label: "FR"
},{
file: "js/assets/captions-de.vtt",
label: "DE",
kind: "captions"
}]
}); 这里还有一张截图,我强调了我所需要的

因此,我需要‘汽车’按钮,将自动检测,这是当前用户的最佳质量。现在,用我的代码,我看到了所有的4个来源/质量,但‘自动’按钮看不到。我该怎么加呢?
发布于 2015-10-23 14:15:37
亚马逊支持让我这篇有用的文章链接到http://www.jwplayer.com/blog/encoding-hls-with-amazon-elastic-transcoder/,我可以做我想做的事。
https://stackoverflow.com/questions/33214871
复制相似问题