Trigger duration updates indirectly so that live is correctly detected by the player
Since HLS has overridden the Flash tech's duration method, durationchange is no longer automatically fired. Whenever duration needs to be updated, trigger durationchange on the player instead of setting it directly. The player code calls back to the tech to pick up the new duration and applies styling for live playback if necessary.
Showing
2 changed files
with
8 additions
and
2 deletions
-
Please register or sign in to post a comment