Play inline video (local) on Android?


#1

Apparently its super easy on iOS:

<video autoplay loop webkit-playsinline>
   <source src="video.mp4" type="video/mp4">
</video>

but for some reasons I cant get it to work on android. I tried to query the dom object and .play() programmatically but with no success

Any help?


#2

#3

Thank you! I ll give it a try


#4

Most audio & video element issues with Android are nonexistent when using Crosswalk with your project. #protip

Disclaimer: Adding Crosswalk increases app binary size.

Make a backup before adding Crosswalk to your project.

ionic browser add crosswalk