I am using a video
tag inside a div
. Now I want to make the rest of the area translucent or transparent. There is already a background image, so I cant use a transparent png as well.
<div id="WelcomeVideo12" style="width:100%; margin-left: px;" >
<video id="frist_video" style="width:97% !important; height:100%;margin-top:-100%;" autoplay='true' loop='true'>
<source src="<?php echo $base_url ; ?>upload_media/Welcome.mp4" type="video/mp4">
<source src="mov_bbb.ogg" type="video/ogg">
Your browser does not support HTML5 video.
</video>
</div>
Please help me out.