Use javascript to detect if a youtube video is having trouble loading and playing -


is possible, using javascript, detect if embedded youtube video pauses playback in order let video buffer? know there events fire when user presses pause, i'm looking event fires when video pauses due slow connection. i'm creating web application it's important have video play through smoothly. if video pauses due slow connection, want detect that.

use code player.getplayerstate():number seems allowed ask player status in may you
https://developers.google.com/youtube/js_api_reference


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

How to call a javascript function after the page loads with a chrome extension? -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -