twitter bootstrap - Video background in PHP for index page -


i trying video background on index page works fine on html page doesn't work on php.

<div class="header-container"> <div class = "video-container"> <video preload = "true" autoplay = "autoplay" loop= "loop" volume = "0" poster = "pic.jpg"> <source src = "mp4/fa.mp4" type="video/mp4" > </video> </div> </div> 
 .header-container { width:100%; height: 900px; border-left: none; border-right: none; position: relative; padding: 20px; }   .video-container { position: absolute; top: 0%; left: 0%; height: 100%; width: 100%; overflow: hidden; }   video { position: absolute; z-index: -1; opacity: 0.78; width: 100%; } 

i want make work on php.

i not able figure out why isn't playing on localhost, although displays text content perfectly. video playback not visible.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -