V
V
Vitaly2016-11-16 14:21:44
JavaScript
Vitaly, 2016-11-16 14:21:44

Why doesn't the video (html5 ) play in android?

I can not understand why the video does not play on a smartphone with Android. The video should start when called before it. Everything is fine on the iphone, nothing on the android, there is an area for the video, but the video itself is not displayed. You can see for yourself: here at the very bottom.
I call the video like this:

<video loop>
        <source src="<?php echo get_template_directory_uri(); ?>/videos/video-batik.ogv" type='video/ogg; codecs="theora, vorbis"'/>
        <source src="<?php echo get_template_directory_uri(); ?>/videos/video-batik.webm" type='video/webm' >
        <source src="<?php echo get_template_directory_uri(); ?>/videos/video-batik.mp4" type='video/mp4'> 	 			
      </video>

The video was converted to three formats (using the built-in converter in the VLC player) - webm, ogg and mp4 (H.264). Please tell me what could be the reason? Thank you!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question