How to put video in background ??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to put video in background ???

We are put images in background of HTML body is there any way to put video in HTML body??? If any one have this program please give me..

18th Mar 2017, 1:49 PM
The YK
The YK - avatar
2 Answers
+ 8
Put a video full screen by height:100% and width:100% don't put controls attribute. Put everything else above the video .
18th Mar 2017, 2:23 PM
Utkαrsh
Utkαrsh - avatar
+ 6
You can use <canvas> and copy video stream on it (and perform some effects, if you want) by same way suggested by @Utkarsh (using css position modes)... http://html5doctor.com/video-canvas-magic/
18th Mar 2017, 5:25 PM
visph
visph - avatar