Novage / jwplayer-hlsjs

hls.js provider for jwplayer
ISC License
9 stars 9 forks source link

Video quality name is not showing #5

Open mrlika opened 4 years ago

mrlika commented 4 years ago

Expected: image

Actual: image

afdah commented 4 years ago

JWPlayer API getVisualQuality() is broken. Returns null. It should return the current quality the player is playing.

Take note that this is different from getCurrentQuality(). This will always returns 0. Based on the above 2nd pic. 0=auto 1=360p 2=720p

You can set the quality level label by the below code. $('.jw-auto-label').text('Quality Label Here');

mrlika commented 4 years ago

Should be fixed in 5679fd27b9449511322065dfc8ab62d4981871b8

afdah commented 4 years ago

Great work! It's working now. Tested with JW Player version 8.9.5