]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
Fixed merge conflict
authorDavid Seifried <david.c.seifried@gmail.com>
Mon, 26 Sep 2011 18:45:20 +0000 (14:45 -0400)
committerDavid Seifried <david.c.seifried@gmail.com>
Mon, 26 Sep 2011 18:45:20 +0000 (14:45 -0400)
28 files changed:
1  2 
plugins/attribution/popcorn.attribution.unit.html
plugins/code/popcorn.code.js
plugins/code/popcorn.code.unit.html
plugins/facebook/popcorn.facebook.js
plugins/facebook/popcorn.facebook.unit.html
plugins/facebook/popcorn.facebook.unit.js
plugins/flickr/popcorn.flickr.unit.html
plugins/footnote/popcorn.footnote.unit.html
plugins/footnote/popcorn.footnote.unit.js
plugins/gml/popcorn.gml.js
plugins/gml/popcorn.gml.unit.html
plugins/googlefeed/popcorn.googlefeed.unit.html
plugins/googlemap/popcorn.googlemap.unit.html
plugins/image/popcorn.image.unit.html
plugins/lastfm/popcorn.lastfm.unit.html
plugins/linkedin/popcorn.linkedin.unit.html
plugins/lowerthird/popcorn.lowerthird.unit.html
plugins/mustache/popcorn.mustache.unit.html
plugins/openmap/popcorn.openmap.unit.html
plugins/pause/popcorn.pause.unit.html
plugins/processing/popcorn.processing.unit.html
plugins/subtitle/popcorn.subtitle.unit.html
plugins/tagthisperson/popcorn.tagthisperson.unit.html
plugins/timeline/popcorn.timeline.unit.html
plugins/twitter/popcorn.twitter.unit.html
plugins/webpage/popcorn.webpage.unit.html
plugins/wikipedia/popcorn.wikipedia.unit.html
plugins/wordriver/popcorn.wordriver.unit.html

index 92524a88af9dfd67dc303da1cfb8b91bf89bca93,0f6879dcc473e31548ad65d29f7a7ba261ba311c..b3f4b7c38aaa43065ad651286b1cc13222bb119b
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls preload='none' 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls preload="none"
 +    width= "250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
        type='video/ogg; codecs="theora, vorbis"'>
++<<<<<<< HEAD
++=======
+       
+     <source id='webm'
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
++>>>>>>> d2f71c054c4e017ce8a358931def7d50cf3c10e1
  
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 -  <div id="attribdiv"></div>  
 +  </video>
 +  <div id="attribdiv"></div>
  </body>
  </html>
index 214185fb854c654eda2c81d8145efa8e2a6d4b60,25200ff11ff676f41a8b8744f95e557a681b26ac..205fae761d324261dd48e7c78489e757716c9466
    *
    */
  
 -  Popcorn.plugin( 'code' , function(options) {
 +  Popcorn.plugin( "code" , function( options ) {
      var running = false;
 -  
 +
      // Setup a proper frame interval function (60fps), favouring paint events.
 -    var step = ( function() {
 -    
 +    var step = (function() {
 +
        var buildFrameRunner = function( runner ) {
          return function( f, options ) {
 -    
 +
            var _f = function() {
-             f();
-             if ( running ) {
-               runner( _f );
-             }
+             running && f();
+             running && runner( _f );
            };
 -    
 +
            _f();
          };
        };
index edeef04e083ca1b534a1242071c4620e7b946904,0501e571ad489103e32fa4dea6ae6e0d70e73fa2..35f9de4daac58463b8b458a388c64259f8ec1872
        src="../../test/trailer.mp4"
        type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
        type='video/ogg; codecs="theora, vorbis"'>
+       
+     <source id='webm'
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
  
      <p>Your user agent does not support the HTML5 Video element.</p>
  
Simple merge
index be9e4e28771c48216bffcd48c535741508c28a06,1176f9025298ba74aa9a78cca4b794ab15f19892..ccefc5e68286d4dde20ecec22e1770b87eb3dd33
      <div id="facepilediv"></div>
      <div id="activitydiv"></div>
    </div>
 -  <video id='video' 
 -    controls preload='none' 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
 +  <video id="video"
 +    controls preload="none"
 +    width="250px"
 +    poster="../../test/poster.png">
  
 -    <source id='mp4'
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 -  </video> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
 +  </video>
    <div>
      <div id="likediv"></div>
      <div id="likeboxdiv"></div>
index 40dd43e274d56da578e08caaaaf27aa0b49ab457,1e01cf9dd633d9411e8421c81372ac3587b7f014..bde1855ea9aba0fe81b8da93b203a9d19148ef6b
@@@ -24,63 -24,82 +24,81 @@@ test( "Popcorn Facebook Plugin", functi
  
    popped.facebook({
          target: "likediv",
 -        start : 1,
 -        end   : 6
 -      } )
 +        start: 1,
 +        end: 6
 +      })
        .facebook({
 -        href  : "http://www.facebook.com/senecacollege",
 -        type  : "LIKE_BOX",
 +        href: "http://www.facebook.com/senecacollege",
 +        type: "LIKE_BOX",
          target: "likeboxdiv",
 -        start : 2,
 -        end   : 6
 -      } )
 +        start: 2,
 +        end: 6
 +      })
        .facebook({
 -        site   : "http://popcornjs.org/",
 -        type   : "ACTIVITY",
 -        target : "activitydiv",
 -        start  : 3,
 -        end    : 6
 -      } )
 +        site: "http://popcornjs.org/",
 +        type: "ACTIVITY",
 +        target: "activitydiv",
 +        start: 3,
 +        end: 6
 +      })
        .facebook({
 -        href   : "http://www.facebook.com/senecacollege",
 -        type   : "FACEPILE",
 -        target : "facepilediv",
 -        start  : 4,
 -        end    : 6,
 -        width  : 300
 -      } )
 -    .volume(0)
 +        href: "http://www.facebook.com/senecacollege",
 +        type: "FACEPILE",
 +        target: "facepilediv",
 +        start: 4,
 +        end: 6,
 +        width: 300
 +      })
 +    .volume( 0 )
      .play();
 -    
 -  ok (document.getElementById('likediv'), "likediv exists on the page" );
 +
 +  ok( document.getElementById( "likediv" ), "likediv exists on the page" );
    plus();
 -  ok (document.getElementById('likeboxdiv'), "likeboxdiv exists on the page" );
 +  ok( document.getElementById( "likeboxdiv" ), "likeboxdiv exists on the page" );
    plus();
 -  ok (document.getElementById('activitydiv'), "activitydiv exists on the page" );
 +  ok( document.getElementById( "activitydiv" ), "activitydiv exists on the page" );
    plus();
 -  ok (document.getElementById('facepilediv'), "facepilediv exists on the page" );
 +  ok( document.getElementById( "facepilediv" ), "facepilediv exists on the page" );
    plus();
 -  
 +
    // I inspected the html genterated by facebook, and found that there are no uniquely identifying attributes between plug-in types
    // so right now, we just check ot make sure that facebook is returning a plugin and displaying it at the correct time.
 -  
 +
    popped.exec( 2, function() {
 -    ok ( document.getElementById( "likediv" ).innerHTML, "likediv is not empty at 0:02 (expected)" );
 +    ok( document.getElementById( "likediv" ).innerHTML, "likediv is not empty at 0:02 (expected)" );
      plus();
    });
 -  
 +
    popped.exec( 3, function() {
 -    ok ( document.getElementById( "likeboxdiv" ).innerHTML, "likeboxdiv is not empty at 0:03 (expected)" );
 +    ok( document.getElementById( "likeboxdiv" ).innerHTML, "likeboxdiv is not empty at 0:03 (expected)" );
      plus();
    });
 -  
 +
    popped.exec( 4, function() {
 -    ok ( document.getElementById( "activitydiv" ).innerHTML, "Activitydiv is not empty at 0:04 (expected)" );
 +    ok( document.getElementById( "activitydiv" ).innerHTML, "Activitydiv is not empty at 0:04 (expected)" );
      plus();
    });
 -  
 +
    popped.exec( 5, function() {
 -    ok ( document.getElementById( "facepilediv" ).innerHTML, "Facepilediv is not empty at 0:05 (expected)" );
 +    ok( document.getElementById( "facepilediv" ).innerHTML, "Facepilediv is not empty at 0:05 (expected)" );
      plus();
    });
+   
+ });
+ 
+ test( "Test Empty Block", function () {
+ 
+   Popcorn.plugin.debug = true;
+ 
+   var pop = Popcorn( "#video" );
+   
+   expect( 1 );
+   
+   // Tests for thrown Error on emtpy block
+   try {
+     pop.facebook({});
+   } catch( e ) {
+     ok( true, "Empty event was caught by debugger" );
+   }
+   
  });
 -
index 58626bdd275f17d85e9d0bec50deeb6d8d92e569,219e19ae0d9119c64995b25c0beb78fe639d3e8c..3eec39843a300704d0005bb1582fdc9c12381df4
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls
 +    width="250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 -  <div id="flickrdiv"></div>  
 +  </video>
 +  <div id="flickrdiv"></div>
  </body>
  </html>
index e42d2ff1c2378852851fc6b88fdea8affe7d9de4,cf15b499cd1b74ee3160c0bc192ffc5656ae4494..d04bab6cae0fb46e8c16b56fec69450250aa26b2
        src="../../test/trailer.mp4"
        type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
        type='video/ogg; codecs="theora, vorbis"'>
+       
+     <source id='webm'
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
  
      <p>Your user agent does not support the HTML5 Video element.</p>
  
index 20b439967e179cb59db99190724675dbcc56a180,f35c3661e62e640ddfa6a193b1e9208aa2e51ae6..592e385d5673b05843993b8591aa3181935befc2
@@@ -84,18 -84,19 +84,19 @@@ test( "Popcorn Text Plugin", function(
    plus();
  
    popped.text({
-     start: 0,
-     end: 3,
 -    start: 5, // seconds
 -    end: 6, // seconds
++    start: 5,
++    end: 6,
      text: "I am an alias",
      target: "textdiv"
    });
  
    stop();
  
-   popped.exec( 2, function() {
+   popped.exec( 5, function() {
  
 -    equal( textdiv.children[0].innerHTML , "I am an alias", "I am an alias set by Popcorn.p.text" );
 +    equal( textdiv.children[ 0 ].innerHTML, "I am an alias", "I am an alias set by Popcorn.p.text" );
      plus();
  
-   }).currentTime( 1 ).play();
+     popped.pause();
 -  }).currentTime(5).play();
++  }).currentTime( 5 ).play();
  });
index daa8c5543712812f150d83bf1167e898f63dee9d,14163017a78b89dd4a3cdfe520399808aa92a37c..702758d768eef911573e40b52cebba051896aa22
@@@ -1,6 -1,6 +1,5 @@@
  // PLUGIN: GML
--
- (function ( Popcorn ) {
+ (function( Popcorn ) {
  
    var gmlPlayer = function( $p ) {
  
index eca2a621b0cdf2684ac3345716675ebf93a0208e,0458169964763e01c22c9d2966fabf843018527b..4700b8fd84f92614569ca4d4801ec00034874c48
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls preload='none' 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls preload="none"
 +    width="250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 -  <div id="gmldiv"></div>  
 +  </video>
 +  <div id="gmldiv"></div>
  </body>
  </html>
index a0cade802464a1b8c8e21556cc04e5d91c1fc3f6,14f8a7f810310b1039299569e3efbe1d30def3d0..26f52a331374ee992e5df6393158cb3ab327069b
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls preload='none' 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls preload="none"
 +    width="250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 -  <div id="feed" style="position:relative;float:left;width:400px;height:600px"></div> 
 -  <div id="feed1" style="position:relative;float:left;width:600px;height:200px"></div>   
 +  </video>
 +  <div id="feed" style="position:relative;float:left;width:400px;height:600px"></div>
 +  <div id="feed1" style="position:relative;float:left;width:600px;height:200px"></div>
  </body>
  </html>
index 3cd1cf44c18ab05ffe76c1ceb9e1de5d8dfabe18,71e3a85c0766f39157de580275ee2c77b8538cd7..ddb3ee6e1c63d33038d535dcdacf37cc7e9b94ca
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls preload='none' 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls preload="none"
 +    width="250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 -  <div id="map" style="position:relative;float:left;width:300px;height:400px"></div> 
 +  </video>
 +  <div id="map" style="position:relative;float:left;width:300px;height:400px"></div>
    <div id="map2" style="position:relative;float:left;width:300px;height:400px"></div>
 -  <div id="map3" style="position:relative;float:left;width:300px;height:400px"></div>    
 +  <div id="map3" style="position:relative;float:left;width:300px;height:400px"></div>
  </body>
  </html>
  
index fd714c048b1b774b2a2ab2d95a4978f41f18bc39,6b660a306d6cf8150c88721bdf60cca1e20de858..d2b8c37fdeb5f2fd0ff46b2e939004d9a334cea7
  
      <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source idl"webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 -  <div id="imagediv"></div>  
 +  </video>
 +  <div id="imagediv"></div>
  </body>
  </html>
index cfe5f543030e671ccbafcd058bb7251c09a61231,7a98c9141975fece65d9bd5719836a894b4177df..df1c3177dfae8f720d9f69cc359cfddfe103a5e2
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls
 +    width="250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 -  <div id="lastfmdiv"></div>  
 +  </video>
 +  <div id="lastfmdiv"></div>
  </body>
  </html>
index 0a122c9c23b8880e7d9f4a9ad879c568d8eddc76,53b2ca303f8b4d9d8778a721d54d8f08ea677bd8..e0aafc35f761b7e5c8d3d46dd6d56dfb96e7c695
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 +
 +  <video id="video"
      controls
 -    width= '250px'
 -    poster="../../test/poster.png"> 
 +    width= "250px"
 +    poster="../../test/poster.png">
  
 -    <source id='mp4'
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 +  </video>
    <div id="sharediv"></div>
    <div id="recommenddiv"></div>
    <div id="memberprofilediv"></div>
index a1c459bdd6085eee4537c6f3c3bc2fd1dfeaaa84,dbb8ae1081760c718e5446770fba5190204f3f3a..62ef68defcb35cdaf7eaa6bbbc04492dd146393a
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls preload='none' 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls preload"none"
 +    width="250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
    </video>
    <div id="lowerthirddiv"></div>
index 6ac07350d63248bfd8c7a864b6f44eb08faf7128,0d9e20d12c4e71489c616ea18a5ad0cbc5c2bb0b..1578c686109b2504bad540b230fb78254b8b298a
        src="../../test/trailer.mp4"
        type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
        type='video/ogg; codecs="theora, vorbis"'>
+       
+     <source id='webm'
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
  
      <p>Your user agent does not support the HTML5 Video element.</p>
  
index 87bdffcb9e76aef544f6a4eac1cae056699d232f,802df2e186f05ab4d188b36ccef6d9fbbee87e63..fbde0e7f103083542503f2756cae91a284dac7cb
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls preload='none' 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls preload="none"
 +    width="250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4;' codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg;' codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 -  <div id="map" style="position:relative;float:left;width:300px;height:400px"></div> 
 +  </video>
 +  <div id="map" style="position:relative;float:left;width:300px;height:400px"></div>
    <div id="map2" style="position:relative;float:left;width:300px;height:400px"></div>
    <div id="map3" style="position:relative;float:left;width:300px;height:400px"></div>
    <div id="map4" style="position:relative;float:left;width:300px;height:400px"></div>
index 683a643e8eab1fdce4e41423075d0fe72d119ab1,d4423f773ad0dc48c604afbd7f2235d7a6761016..9b4300f2c9b3eb6cd3bd6a1adbcbf8741cddceb3
        src="../../test/trailer.mp4"
        type='video/mp4; codecs="avc1, mp4a"' />
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
        type='video/ogg; codecs="theora, vorbis"' />
+       
+     <source id='webm'
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
  
      <p>Your user agent does not support the HTML5 Video element.</p>
    </video>
index 3d5aac456015b82d2630472bf2441b95225638c0,536eaede01302c9f3ccd034e31ed22ecf3944c10..d633f52fa863d8f36118d2933e6a1837e80a97b9
          src="../../test/trailer.mp4"
          type='video/mp4; codecs="avc1, mp4a"'>
  
 -      <source id='ogv'
 +      <source id="ogv"
          src="../../test/trailer.ogv"
          type='video/ogg; codecs="theora, vorbis"'>
+         
+       <source id='webm'
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
  
        <p>Your user agent does not support the HTML5 Video element.</p>
  
index ba113b630f8fff3a66b80959faf2047e0dc2df23,069fb2bc2fbbf3a2b66d8cd40392e81b7e8a1f3d..d700ce4ac89e834bcde57c395e6c2f9b92f34c7a
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls preload='none' 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls preload="none"
 +    width="250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
    </video>
 -  <video id='video2' 
 -    controls preload='none' 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
 +  <video id="video2"
 +    controls preload="none"
 +    width="250px"
 +    poster="../../test/poster.png">
  
 -    <source id='mp4'
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 +      type='video/ogg; codecs="theora, vorbis"'>
  
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 +  </video>
  </body>
  </html>
index b06ad15dc5f908c7ae8c295105482876843beac4,397eae81fa6dcbad9d47b0b5f76e5dbd8e980d3f..293281a7df10a9ae03b192dab79684516685fa8d
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls preload='none' 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls preload="none"
 +    width= "250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 -  <div id="tagdiv"></div>  
 -  <div id="tagdiv2"></div>    
 +  </video>
 +  <div id="tagdiv"></div>
 +  <div id="tagdiv2"></div>
  </body>
  </html>
++
index fefbe625855214a66a176b2db9e4886b19c99395,b2aafa1de57f38a273a0187bf311bb0a7d483ce5..41b6dd723b75674ea9f818612d47cd1bbc2c7a8c
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls preload='none' 
 -    width= '250px'
 +
 +  <video id="video"
 +    controls preload="none"
 +    width="250px"
      poster="../../test/poster.png"
 -    style="float: left;"> 
 +    style="float: left;">
  
 -    <source id='mp4'
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 +  </video>
    <div id="timeline-up" style="float:left;width:400px;height:200px;overflow:auto"></div>
    <div id="timeline-down" style="float:left;width:400px;height:200px;overflow:auto"></div>
  </body>
index 2f9f49dcaf532300a89e5ded2b634aee9825db8f,ebc749c523e98542f76e2fd9bc2584c7f44ba654..cdb03d25dccaf49c06cba9c3743e9e7c1e6c775a
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls
 +    width="250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 -  <div id="twitterdiv"></div>  
 +  </video>
 +  <div id="twitterdiv"></div>
  </body>
  </html>
index 5901156faf82a9243c985f8a9f272ff7c7b7c98e,e6ba0a842ec1ecd0775799e5c5fcaf50b70cff7a..f7e36ef7e753fe3479e5068f1c390b87dc6412b4
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls preload='none' 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls preload="none"
 +    width="250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 -  <div id="webpagediv"></div>  
 +  </video>
 +  <div id="webpagediv"></div>
  </body>
  </html>
index c85ea665807e423e08d1a986f848d188afd067da,299b2348ef5f0de21f5a010b598f3559f3b38d2d..6e08e177404723506dd69e55ef0747c5062a5ed4
        src="../../test/trailer.mp4"
        type='video/mp4; codecs="avc1, mp4a"'> 
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
        type='video/ogg; codecs="theora, vorbis"'> 
+       
+     <source id='webm'
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
  
      <p>Your user agent does not support the HTML5 Video element.</p> 
  
index 1d35b442178bd26ff22418d2248263a7b866a1d3,e78e83d9bb79ff826ae1fe01dd10b642c4eeb222..57ed3736cff7d0416422f87f1973bcff1323d912
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture">  </div>
 -  
 -  <video id='video' 
 -    controls preload='none' 
 -    width= '250px'
 -    poster="../../test/poster.png"> 
  
 -    <source id='mp4'
 +  <video id="video"
 +    controls preload="none"
 +    width="250px"
 +    poster="../../test/poster.png">
 +
 +    <source id="mp4"
        src="../../test/trailer.mp4"
 -      type='video/mp4; codecs="avc1, mp4a"'> 
 +      type='video/mp4; codecs="avc1, mp4a"'>
  
 -    <source id='ogv'
 +    <source id="ogv"
        src="../../test/trailer.ogv"
 -      type='video/ogg; codecs="theora, vorbis"'> 
 -      
 -    <source id='webm'
 +      type='video/ogg; codecs="theora, vorbis"'>
 +
++    <source id="webm"
+       src="../../test/trailer.webm"
+       type='video/webm; codecs="vp8, vorbis"'>
+ 
 -    <p>Your user agent does not support the HTML5 Video element.</p> 
 +    <p>Your user agent does not support the HTML5 Video element.</p>
  
 -  </video> 
 -  <div id="wordriverdiv" style="height: 200px; width: 200px;"></div>  
 +  </video>
 +  <div id="wordriverdiv" style="height: 200px; width: 200px;"></div>
  </body>
  </html>