ios - Fullscreen state with Youtube Iframe API on iPhone -


i'm trying find way of knowing when youtube video on iphone enters/exists fullscreen inside html page. using safari mobile, not uiwebview, videos automatically go fullscreen start playing.

being not on youtube.com domain cannot bind webkitbeginfullscreen , webkitbendfullscreen on <video> element within iframe.

is there technique, hacks, allowing me query video fullscreen state?

i think you'd have detect iphone or ipod user agent , if time changed on video (via youtube javascript api) have assume playing.

although, gets equivalent beginfullscreen event reliably.


Comments

Popular posts from this blog

css - I want to align grid in center -

python - SWIG function not printing output -

oop - Function for all prototypes - Javascript -