
JW 6 resetting to auto in multibit rate menu fired when paused
Hello,
currently implementing the following code to reset the quality to "auto" when the page reloads:
jwplayer().onReady(function(event) {
jwplayer().onQualityLevels(function(event) {
jwplayer().setCurrentQuality(0);
});
});
The problem is that this code also fires if the player is paused. I tried to remove the call to onQualityLevels, but that brings back the problem of the quality level persisting between page visits.
Is there a way to force the quality to auto on the initial page load, but not when the player is simply paused?
Thanks