<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>
*
*/
- 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();
};
};
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>
<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>
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" );
+ }
+
});
-
<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>
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>
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();
});
// PLUGIN: GML
--
- (function ( Popcorn ) {
+ (function( Popcorn ) {
var gmlPlayer = function( $p ) {
<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>
<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>
<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>
<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>
<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>
<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>
<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>
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>
<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>
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>
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>
<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>
<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>
++
<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>
<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>
<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>
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>
<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>