I can't play videos

I’m using ionic tabs project.
I used the video tag with and the video in the www/videos folder, the video won’t work :frowning:

Any example?
Whats your code look like.
Does it work in the browser?

I used the <video src="videos/video.mp4" controls/>
the video is located in the > www/videos/
It works in the browser,
Platform Android, I didn’t tested it in iOS.

I had some issues with this not log ago this is what worked for me.

  1. You must call play() manually
  2. You can’t have type attribute

example code

 <video id="vid" autobuffer height="240" width="360">
 <source src="myplay.m4v">
 <source src="myplay.webm" type="video/webm">
 <source src="myplay.theora.ogv" type="video/ogg">

and then for your java;

var video = document.getElementById('video');

Hmm, I partly agree with @Cmaden, but I had no problems pressings the play button.

<video height="240" width="360">
  <source src="myplay.m4v">

Tapping on the video let me play no problem.