You are here:Home»KB»Web Design»HTML»Embed a Video using HTML5
Sunday, 12 June 2016 09:44

Embed a Video using HTML5

Written by

This article is not finished and is just a holding page for now and to hold collections of code i find:

Video in webpages can make a website look a lot more expensive and professional but you must make sure you have enough bandwidth to cope as it can be quite intensive.

<video class="background-video" aria-role="img" aria-label="PrestaShop" data-mp4-src="//img-cdn.prestashop.com/home/product-video-bg.mp4" data-webm-src="//img-cdn.prestashop.com/home/product-video-bg.webm" data-poster="//img-cdn.prestashop.com/home/bg-video.jpg" autoplay="autoplay" muted="muted" loop="loop" volume="0" canplay="false">
		<source type="video/mp4" src="//img-cdn.prestashop.com/home/product-video-bg.mp4">
		<source type="video/webm" src="//img-cdn.prestashop.com/home/product-video-bg.webm">
</video>

Links

 

Read 1242 times