iOS WebView HTML video element inconsistency

Setting up a webview for iOS with a video element tag acts differently on iPhones and iPads. On iPhones when you play the video the video will be shown in fullscreen with the fullscreen video controler, on the other hand playing a video on the iPads will not play the video in fullscreen mode, it will play it in a container how the css specifies it.
1 answer

Solution:

For playing videos fullscreen mode on a iPad you have to force it to go fullscreen once the video is loaded. If you want to play the video ina container for iPhone you have to add an "inline" attribute to the video tag.

Taggings: