What I want is for the video to be played in an android browser and the only way that works for me until now is with the event that I already have that is with "click" but what I want is that it be played when start the page and try load and onload
This is my video
<video id="video" class="slider-video" width="100%" height="auto" 'preload="" autoplay="autoplay" style="visibility: visible; width: 100%; " poster="imgs/video.jpg" >'
<source src="imgs/video.webm">
<source src="imgs/pruebai.webm type='video/webm; codecs="vp8, vorbis"'>
</video>
This is my script
var video = document.getElementById('video');
window.addEventListener("click",function(){
video.play();
},false);
});