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
Post a Comment