Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8f05f2a2df
Fetching contributors…

Cannot retrieve contributors at this time

file 60 lines (55 sloc) 2.48 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
<!DOCTYPE html>
<html>
<head>
  <title>Popcorn YouTube Player</title>
  <link rel="stylesheet" href="../../test/qunit/qunit.css" type="text/css" media="screen">
  <script src="../../test/qunit/qunit.js"></script>

  <!-- Tests the safe-load of Youtube library -->
  <script src="http://s.ytimg.com/yt/jsbin/www-widgetapi-vflCAfh6H.js"></script>
  <!--
do not move - this must be called immediately prior to popcorn.js.
-->
  <script src="../../popcorn.js"></script>
  <script src="../../modules/player/popcorn.player.js"></script>
  <script src="../../wrappers/common/popcorn._MediaElementProto.js"></script>
  <script src="../../wrappers/youtube/popcorn.HTMLYouTubeVideoElement.js"></script>
  <script src="popcorn.youtube.js"></script>
  <script src="popcorn.youtube.unit.js"></script>
  <script src="../../test/inject.js"></script>
  <script src="../../test/popcorn.inject.js"></script>
</head>
<body>
  <h1 id="qunit-header">Popcorn YouTube Player Plugin</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>

  <p>
    Note about this set of tests:
  </p>

  <p>
    The test assumes that the YouTube video is mostly loaded, before it is run.
    Therefore, if failures occur for the first time, just run it again. Likely,
    failures would disappear the second time.
  </p>
  <p>
    There will be two separate youtube videos visible after the completion of these tests.
  </p>

  <div id="video" style="width: 360px; height: 300px" ></div>
  <div id="video2" style="width: 360px; height: 300px" ></div>
  <div id="video3" style="width: 360px; height: 300px" ></div>
  <div id="video4" style="width: 400px; height: 400px" ></div>
  <div id="video6" style="width: 360px; height: 300px" ></div>
  <div id="video7" style="width: 360px; height: 300px" ></div>
  <div id="video8" style="width: 360px; height: 300px" ></div>
  <div id="video9" style="width: 360px; height: 300px" ></div>
  <div id="video10" style="width: 360px; height: 300px" ></div>
  <div id="video11" style="width: 360px; height: 300px" ></div>
  <div id="video12" style="width: 360px; height: 300px" ></div>
  <div id="video13" style="width: 360px; height: 300px" ></div>
  <div id="video14" style="width: 360px; height: 300px" ></div>
  <div id="video15" style="width: 360px; height: 300px" ></div>
  <div id="video16" style="width: 360px; height: 300px" ></div>

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