ios - Stop video after exiting fullscreen on Mobile Safari -


hey guys, i've got thumbnail on webpage when clicked, plays video in fullscreen using webkitenterfullscreen() method.

but need video stop playing once users touches "done" button , leaves fullscreen mode.

is there event fires once the user has exited fullscreen?

thanks, drew

i had email apple developer answered question me.

the 2 events webkitbeginfullscreen , webkitendfullscreen. piece of sample code useful seeing order events fire (it logs message page whenever event emitted), , includes these 2 events:

http://developer.apple.com/library/safari/#samplecode/html5videoeventflow/introduction/intro.html%23//apple_ref/doc/uid/dts40010085-intro-dontlinkelementid_2


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -