forum share
   textsms      forum    

Articole/intrebari

INDEX \ Articole/intrebari \ HTML5 video element with loop and autoplay

HTML5 video element with loop and autoplay

text_format+  text_format-


HTML5 video element with loop and autoplay.



HTML:



CSS:

#main .video-bg {width: 100%; height: 100%; overflow: hidden; position: absolute; left: 0;top: 0;}
#main .video-bg video{
  position: absolute;
  top: 50%; 
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  min-width: 100%; 
  min-height: 100%; 
  width: auto; 
  height: auto;
  overflow: hidden;
}






update Ultima actualizare: 27/03/2017
done Informatiile cuprinse in aceasta sectiune sunt verificate si actualizate periodic.

list Articole recente
arrow_back Inapoi


© 2019 EVIDWEB. Toate drepturile rezervate. Design: EVIDWEB
Certified partner with GlobeSSL

share  forum  textsms