javascript - Youtube Api Auto Change Video Quality -
is there way automatically detect if user can handle higher video resolution?
right i'm setting user playback quality 'default' in onplayerready. can check if there higher resolution available using getavailablequalitylevels()-1 in onplayerstatechange don't know if changing resolution cause issues.
it seems there no direct way it. previous post suggests, can using 2 ways:
- use javascript method in post.
- use buffered video size quality estimate
over suggested methods suggestion make slow process more kalman filter. hope helps.
Comments
Post a Comment