ionic framework - iOS Video playsinline not always playing inline in cordova app -


seems there's bug in safari web view causes video not play inline under circumstances. rebooting device solved issue.

has seen before? there way fix? if not, there way detect video going full screen , abort it?

i had same issue, resolved adding playsinline , webkit-playsinline web app's <video> tag:

<video src="foo.mp4" playsinline webkit-playsinline /> 

this fix introduced apple. ios 10+ devices, playsinline sufficient. ios 8 , ios 9, both tags required. devices below ios8 not support html5 videos.

from safari documentation:

webkit-playsinline: indicates video element should play inline instead of full-screen. enabled in uiwebview allowsinlinemediaplayback property set yes.


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -