forked from mozilla/popcorn-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
3,047 additions
and
3,048 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Popcorn 0.3 JSON parser Plug-in Demo</title> | ||
<script src="../../popcorn.js"></script> | ||
<script src="../../test/jquery.js"></script> | ||
<script src="../../plugins/webpage/popcorn.webpage.js"></script> | ||
<script src="../../plugins/footnote/popcorn.footnote.js"></script> | ||
<script src="../../plugins/googlemap/popcorn.googlemap.js"></script> | ||
<script src="../../parsers/parserJSON/popcorn.parserJSON.js"></script> | ||
|
||
</head> | ||
<body> | ||
<h1 id="qunit-header">Popcorn 0.3 JSON parser Plug-in Demo</h1> | ||
<p></p> | ||
<div> | ||
<video id='video' data-timeline-sources="data/data.json" | ||
controls | ||
width= '250px' | ||
poster="../../test/poster.png"> | ||
|
||
<source id='mp4' | ||
src="../../test/trailer.mp4" | ||
type='video/mp4; codecs="avc1, mp4a"'> | ||
|
||
<source id='ogv' | ||
src="../../test/trailer.ogv" | ||
type='video/ogg; codecs="theora, vorbis"'> | ||
|
||
<p>Your user agent does not support the HTML5 Video element.</p> | ||
|
||
</video> | ||
</div> | ||
<style> | ||
.displays { | ||
width: 300px; | ||
height: 300px; | ||
} | ||
</style> | ||
<div class="displays" id="iframe-container"></div> | ||
<div class="displays" id="map-container"></div> | ||
<div class="displays" id="footnote-container"></div> | ||
|
||
</body> | ||
<head> | ||
<title>Popcorn 1.0 JSON parser Plug-in Demo</title> | ||
|
||
<script src="../../popcorn.js"></script> | ||
<script src="../../modules/timeline-sources/popcorn.timeline-sources.js"></script> | ||
<script src="../../plugins/webpage/popcorn.webpage.js"></script> | ||
<script src="../../plugins/footnote/popcorn.footnote.js"></script> | ||
<script src="../../plugins/googlemap/popcorn.googlemap.js"></script> | ||
<script src="../../parsers/parserJSON/popcorn.parserJSON.js"></script> | ||
|
||
</head> | ||
<body> | ||
<h1 id="qunit-header">Popcorn 1.0 JSON parser Plug-in Demo</h1> | ||
<p></p> | ||
<div> | ||
<video id="video" data-timeline-sources="data/data.json" | ||
controls | ||
width= "250px" | ||
poster="../../test/poster.png"> | ||
|
||
<source id="mp4" | ||
src="../../test/trailer.mp4" | ||
type='video/mp4; codecs="avc1, mp4a"'> | ||
|
||
<source id="ogv" | ||
src="../../test/trailer.ogv" | ||
type='video/ogg; codecs="theora, vorbis"'> | ||
|
||
<p>Your user agent does not support the HTML5 Video element.</p> | ||
|
||
</video> | ||
</div> | ||
|
||
<style> | ||
.displays { | ||
width: 300px; | ||
height: 300px; | ||
} | ||
</style> | ||
<div class="displays" id="iframe-container"></div> | ||
<div class="displays" id="map-container"></div> | ||
<div class="displays" id="footnote-container"></div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Popcorn 0.3 SBV parser Plug-in Demo</title> | ||
<script src="../../popcorn.js"></script> | ||
<script src="../../test/jquery.js"></script> | ||
<script src="../../plugins/subtitle/popcorn.subtitle.js"></script> | ||
<script src="popcorn.parserSBV.js"></script> | ||
|
||
<script> | ||
document.addEventListener( 'DOMContentLoaded', function () { | ||
var p = Popcorn( '#video' ) | ||
.volume( 0 ) | ||
.play(); | ||
}, false); | ||
</script> | ||
</head> | ||
<body> | ||
<h1 id="qunit-header">Popcorn 0.3 SBV parser Plug-in Demo</h1> | ||
<p>From 2.4 to 7.2 seconds, "Senator, we're making our final approach into Coruscant." is shown | ||
<br />From 9.712 to 13.399 seconds, "Very good, Lieutenant." is shown | ||
<br />From 15.042 to 18.042 seconds, "It's a trap!" is shown</p> | ||
<div> | ||
<div> | ||
<video id='video' | ||
controls | ||
width= '250px' | ||
data-timeline-sources="data/data.sbv" | ||
poster="../../test/poster.png"> | ||
|
||
<source id='mp4' | ||
src="../../test/trailer.mp4" | ||
type='video/mp4; codecs="avc1, mp4a"'> | ||
|
||
<source id='ogv' | ||
src="../../test/trailer.ogv" | ||
type='video/ogg; codecs="theora, vorbis"'> | ||
|
||
<p>Your user agent does not support the HTML5 Video element.</p> | ||
|
||
</video> | ||
</div> | ||
<h4>Subtitle Source<h4> | ||
<iframe id="srcDisplay" src="data/data.sbv"></iframe> | ||
</body> | ||
<head> | ||
<title>Popcorn 1.0 SBV parser Plug-in Demo</title> | ||
|
||
<script src="../../popcorn.js"></script> | ||
<script src="../../plugins/subtitle/popcorn.subtitle.js"></script> | ||
<script src="popcorn.parserSBV.js"></script> | ||
|
||
<script> | ||
document.addEventListener( "DOMContentLoaded", function () { | ||
var p = Popcorn( "#video" ) | ||
.parseSBV( "data/data.sbv" ) | ||
.volume( 0 ) | ||
.play(); | ||
}, false); | ||
</script> | ||
</head> | ||
<body> | ||
<h1 id="qunit-header">Popcorn 1.0 SBV parser Plug-in Demo</h1> | ||
|
||
<p>From 2.4 to 7.2 seconds, "Senator, we're making our final approach into Coruscant." is shown | ||
<br />From 9.712 to 13.399 seconds, "Very good, Lieutenant." is shown | ||
<br />From 15.042 to 18.042 seconds, "It's a trap!" is shown</p> | ||
|
||
<div> | ||
<video id="video" | ||
controls | ||
width= "250px" | ||
poster="../../test/poster.png"> | ||
|
||
<source id="mp4" | ||
src="../../test/trailer.mp4" | ||
type='video/mp4; codecs="avc1, mp4a"'> | ||
|
||
<source id="ogv" | ||
src="../../test/trailer.ogv" | ||
type='video/ogg; codecs="theora, vorbis"'> | ||
|
||
<p>Your user agent does not support the HTML5 Video element.</p> | ||
|
||
</video> | ||
</div> | ||
|
||
<h4>Subtitle Source<h4> | ||
<iframe id="srcDisplay" src="data/data.sbv"></iframe> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.