Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can do this with native browser html5 video player too which will be much faster, no need to use a plugin. Try this:</p> <p><strong><a href="http://jsfiddle.net/YZT5s/117/" rel="nofollow">Here is working jsFiddle example.</a></strong></p> <p>jQuery:</p> <pre><code>$(document).ready(function() { var windowH = $(window).height(); $('#main_container, #overlay').height(windowH); $(window).resize(function () { var windowH = $(window).height(); $('#main_container, #overlay').height(windowH); }); });​ </code></pre> <p>css:</p> <pre><code>body { background-color: #000000; font-family: Arial; font-size: 12px; color: #000; margin: 0; padding: 0; overflow: hidden; } #main_container { float: left; position: relative; width: 100%; height: 100%; background-color: #000000; } #video { position: absolute; left: 0px; top: 0px; min-height: 100%; min-width: 100%; z-index: 9997; }​ #overlay { position: absolute; left: 0px; top: 0px; height: 100%; width: 100%; z-index: 9998; } </code></pre> <p>html:</p> <pre><code>&lt;div id="main_container"&gt; &lt;div id="overlay"&gt;&lt;/div&gt; &lt;video id="video" width="" height="" controls="controls" loop="loop" autoplay=""&gt; &lt;source src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4" /&gt; &lt;source src="http://www.w3schools.com/html/mov_bbb.ogg" type="video/ogg" /&gt; Your browser does not support the video tag. &lt;/video&gt; &lt;/div&gt; </code></pre> <p>Note: Used overlay div for deactivating controls and you can use whatever content on your video, like in jsFiddle example.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload