html - HTML5 video tag not working on 000webhost -


my video work fine locally when put on server doesn't work have both file uploaded , in default directory.

  <html>    <head>          <link rel="stylesheet" type="text/css" href="video.css">    </head>    <body>         <div id="banner" class="headercontent">       <div id="header">         <div id="headercontent" class="headercontent">             <video autoplay   id="awsome_video" >                <source src="promo.mp4" type="video/mp4">         </video>         <div class="overlay">            <h1 id="rowdy"> rowdy rondy rousey </h1>            <a href="test.html" id="enter">enter</a>            </div>         </div>      </div>      </body> </html>  

your video src path mismatching :

  <html>    <head>          <link rel="stylesheet" type="text/css" href="video.css">    </head>    <body>         <div id="banner" class="headercontent">       <div id="header">         <div id="headercontent" class="headercontent">             <video autoplay   id="awsome_video" >                <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">         </video>         <div class="overlay">            <h1 id="rowdy"> rowdy rondy rousey </h1>            <a href="test.html" id="enter">enter</a>            </div>         </div>      </div>      </body> </html> 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -