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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -