Full screen video background code....

0 replies
Hi Warriors,

I have a site that plays full screen video for the background...it works OK with my hosted MP4 video file.....but I dont want to go thru bandwdith.

I tried to put my Youtube embed code and also my Wistia embed code...no go.

Here is the code that does the video:

<video id="full-video" muted preload autoplay loop>

<source src="video/drone.mp4" type="video/mp4">

<!-- fallback image -->

<img src="img/background.jpg" class="video-player--fallback-image" />

</video>


Also the 'fallback' image wont show when you cant view the video on tablets.

Thanks in advance for help on this!

Bret
#background #code #full #screen #video

Trending Topics