localhost - Site looks good locally in Firefox 29.0.1 but not remotely -
a site working on: http://ninthmind.com, looks remotely in browsers except firefox 29.0.1. have cleared cached , searched syntax errors. weird thing looks expected locally on machine in same firefox browser.
there video element within site not appearing (only remotely in firefox) despite having both mp4 , webm sources. in code below class "invis" changes mask's , video's display none mobile devices.
<div class="header"> <img class="invis" id="mask" src="images/mask.png"> <video class="invis" id="brain" autoplay loop> <source src="video/brain.mp4" type="video/mp4"> <source src="video/brain.webm" type="video/webm"> </video> <div class="welcome"> <h1>welcome to</h1> <img id="logo" src="images/logo.png" alt="logo"> <h3>subheading</h3> </div> </div>
that webm file being served wrong mime type. should "video/webm" it's being served "text/plain". have set correctly on local machine (or you're using "file://") not remote server.
these instructions should you: http://voice.firefallpro.com/2012/03/html5-audio-video-mime-types.html
Comments
Post a Comment