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:

  1. use javascript method in post.
  2. use buffered video size quality estimate

over suggested methods suggestion make slow process more kalman filter. hope helps.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -