lundi 20 avril 2015

html5 video not starting

I'm trying to use a video as a background for my div. I've loaded the mp4 version of the video into my server, inside the public folder. When I load the page the video doesn't seem to be there since it's all white, but when I try another video from another website this works fine. Is there something I need to do while loading the video into my server or there is something wrong with my code?

<body>
 <video id="bgvid" controls="controls" autoplay muted>
     <source src="http://MyUrl/public/video.mp4" type="video/mp4">
 </video>
 <div class="overlap">
     <div class="overlapalign"><div class="overlaptext">OVER TEXT</div></div>
 </div>
</body>

Aucun commentaire:

Enregistrer un commentaire