Hi there
I’m currently working on an app for iOS and Android with a lot of local video content. The videos have to be part of the app (required by the client). So I used the video tag with
<video controls="controls" preload="metadata" class="videoPlayer">
<source ng-src="{{video.src}}" type="video/mp4"/>
</video>
{{video.src}}
in this case contains the string video/_demo_video.mp4
On iOS the whole thing works like a charm. But on Android the videos don’t work. There is a video thumbnail, but tapping on it doesn’t play the video. On the smartphone itself nothing happens. In the emulator (with ‘ionic emulate android’) the app quits unexpectedly.
The videos are in an mp4 containter with H264 - MPEG-4 AVC 4:2:0 encoding and mp4a MPEG AAC audio. According to the supported media formats of android, this should work: http://developer.android.com/guide/appendix/media-formats.html
Does anybody have an idea what I could do about that?