javascript - Detect if the UIWebView can play video inline on iPhone ( allowsInlineMediaPlayback ) -


i trying tell if video going play inline once user starts video (as apposed fullscreen/in native video player) on iphone in uiwebview before video has started. have no way of knowing if uiwebview has setting allowsinlinemediaplayback = yes not know in app or on page video being displayed.

my goal show video if can played inline.

is there way read allowsinlinemediaplayback setting javascript, or detect if video play inline or not?

everything have read on apple developers website seems suggest automatically play in full screen mode in safari. if using app, far know not have access apps uiwebviews properties. however, in attempt not totally useless, here link of methods can query , might find useful information in there.

https://developer.apple.com/library/safari/documentation/audiovideo/reference/htmlmediaelementclassreference/htmlmediaelement/htmlmediaelement.html#//apple_ref/doc/uid/tp40009355-ch18-sw27

some more information may useful you.

https://developer.apple.com/library/safari/documentation/audiovideo/conceptual/using_html5_audio_video/audioandvideotagbasics/audioandvideotagbasics.html#//apple_ref/doc/uid/tp40009523-ch2-sw1


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -