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

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -