You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
End goal: Set Default Level of Video, Not 360p. (or choose the highest Level available)
my code so far:
varplayer=newClappr.Player({source: "1.m3u8",parentId: "#player",plugins: [LevelSelector,HlsjsPlayback],levelSelectorConfig: {title: 'Quality',labels: {// the labels are ment to be blank3: '',2: '',// 500kbps1: '',// 240kbps0: '',// 120kbps},labelCallback: function(playbackLevel,customLabel){returncustomLabel+playbackLevel.level.height+'p';// High 720p}},///HLS CONFIG{removed}});
my code so far:
m3u8 file:
Extra info if needed:
If possible, i want the Top default to be dynamic (as every video wont be 1080p, or 240p, just choose the highest available)