Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 111 lines (83 sloc) 4.616 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
<!DOCTYPE html>
<html>
<head>
  <title>Popcorn API</title>
  <link rel="stylesheet" href="qunit/qunit.css" type="text/css" media="screen">
  <script src="jquery.js"></script>

  <script src="qunit/qunit.js"></script>

  <script src="popcorn.unit.setup.js"></script>
  <script src="../popcorn.js"></script>
  <script src="popcorn.unit.js"></script>
</head>
<body>
  <h1 id="qunit-header">
    Popcorn.js API
    <iframe id="archaic-tests" data-src="archaic.html" style="width:325px;height:60px;float:right;border:0px;margin:-10px 20px 0 -10px;background:#fff" ></iframe>

    <iframe id="butter-tests" data-src="butter_test.html" style="width:325px;height:60px;float:right;border:0px;margin:-10px 20px 0 -10px;background:#fff" ></iframe>

    <iframe id="ready-tests" data-src="ready.html" style="width:325px;height:60px;float:right;border:0px;margin:-10px 20px 0 -10px;background:#fff" ></iframe>

  </h1>
  <h2 id="qunit-banner"></h2>
  <div id="qunit-testrunner-toolbar"></div>
  <h2 id="qunit-userAgent"></h2>
  <ol id="qunit-tests"></ol>
  <div id="qunit-fixture">

  </div>

  <video id='video'
    style="display:;width:300px"
    controls
    preload="auto">

    <source id='mp4'
      src="trailer.mp4"
      type='video/mp4; codecs="avc1, mp4a"'>

    <source id='ogv'
      src="trailer.ogv"
      type='video/ogg; codecs="theora, vorbis"'>
      
    <source id='webm'
      src="trailer.webm"
      type='video/webm; codecs="vp8, vorbis"'>

    <p>Your user agent does not support the HTML5 Video element.</p>

  </video>

  <audio id='audio' data-timeline-sources="data/parserData.json" controls>
    <source src="italia.mp4" type='audio/mp4; codecs="mp4a.40.2"'>
    <source src="italia.ogg" type='audio/ogg; codecs="vorbis"'>
  </audio>

  <!-- Position Tests Adapted From jQuery offsets/dimensions Tests -->
  <style type="text/css" media="screen">
    #position-tests { display:none;margin:0; position: fixed;top:0px;left:0px; }

    div.absolute { position: absolute; margin: 0px; width: 100px; height: 100px; background: #fff; }
    #absolute-1 { top: 0; left: 0; }
    #absolute-1-1 { top: 1px; left: 1px; }
    #absolute-1-1-1 { top: 1px; left: 1px; }
    #absolute-2 { top: 19px; left: 19px; }

    div.relative { position: relative; top: 0; left: 0; width: 100px; height: 100px; background: #fff; overflow: hidden; }
    #relative-2 { top: 20px; left: 20px; }

    div.fixed { position: fixed; width: 100px; height: 100px; background: #fff; overflow: hidden; }
    #fixed-1 { top: 0; left: 0; }
    #fixed-2 { top: 20px; left: 20px; }

    div.static { position: static; top: 0; left: 0; width: 100px; height: 100px; background: #fff; overflow: hidden; }
    #static-2 { top: 20px; left: 20px; }

  </style>

  <div id="position-tests">
    <div id="absolute-1" class="absolute"><video id="vid-absolute-1" src="trailer.ogv" style="visibility:hidden"></video>
      <div id="absolute-1-1" class="absolute"><video id="vid-absolute-1-1"" src="trailer.ogv" style="visibility:hidden"></video>
        <div id="absolute-1-1-1" class="absolute"><video id="vid-absolute-1-1-1" src="trailer.ogv" style="visibility:hidden"></video></div>
      </div>
    </div>
    <div id="absolute-2" class="absolute"><video id="vid-absolute-2" src="trailer.ogv" style="visibility:hidden"></video></div>

    <div id="relative-1" class="relative"><video id="vid-relative-1" src="trailer.ogv" style="visibility:hidden"></video>
      <div id="relative-1-1" class="relative"><video id="vid-relative-1-1" src="trailer.ogv" style="visibility:hidden"></video>
        <div id="relative-1-1-1" class="relative"><video id="vid-relative-1-1-1" src="trailer.ogv" style="visibility:hidden"></video></div>
      </div>
    </div>
    <div id="relative-2" class="relative"><video id="vid-relative-2" src="trailer.ogv" style="visibility:hidden"></video></div>


    <div id="fixed-1" class="fixed"><video id="vid-fixed-1" src="trailer.ogv" style="visibility:hidden"></video></div>
    <div id="fixed-2" class="fixed"><video id="vid-fixed-2" src="trailer.ogv" style="visibility:hidden"></video></div>

    <div id="static-1" class="static"><video id="vid-static-1" src="trailer.ogv" style="visibility:hidden">
      <div id="static-1-1" class="static"><video id="vid-static-1-1" src="trailer.ogv" style="visibility:hidden">
        <div id="static-1-1-1" class="static"><video id="vid-static-1-1-1" src="trailer.ogv" style="visibility:hidden"></div>
      </div>
    </div>
    <div id="static-2" class="static"><video id="vid-static-2" src="trailer.ogv" style="visibility:hidden"></div>

  </div>


</body>
</html>
Something went wrong with that request. Please try again.