This file contains hidden or 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
| <!DOCTYPE html> | |
| <head> | |
| <base href="https://popcorn.webmaker.org/templates/basic/"> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <title>Popcorn Maker</title> | |
| <!-- Other stuff in head... --> | |
This file contains hidden or 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
| DIFF against humphd/rillian patch, focused on Mozilla build integration | |
| diff --git a/content/html/content/public/nsHTMLMediaElement.h b/content/html/content/public/nsHTMLMediaElement.h | |
| index e822318..049fb9b 100644 | |
| --- a/content/html/content/public/nsHTMLMediaElement.h | |
| +++ b/content/html/content/public/nsHTMLMediaElement.h | |
| @@ -24,17 +24,17 @@ | |
| #include "nsTimeRanges.h" | |
| #include "nsIDOMWakeLock.h" | |
| #include "AudioChannelCommon.h" |
This file contains hidden or 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
| diff --git a/configure.in b/configure.in | |
| index 07cffe0..b07885c 100644 | |
| --- a/configure.in | |
| +++ b/configure.in | |
| @@ -4262,6 +4262,7 @@ MOZ_OMX_PLUGIN= | |
| MOZ_VP8= | |
| MOZ_VP8_ERROR_CONCEALMENT= | |
| MOZ_VP8_ENCODER= | |
| +MOZ_WEBVTT=1 | |
| VPX_AS= |
This file contains hidden or 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
| public CueTest : public testing::Test | |
| { | |
| protected: | |
| virtual void LoadVTT( char *fileName, uint expectedNumberOfCues ) | |
| { | |
| parser = ItemStorageParser( fileName ); | |
| //todo (did it work) | |
| ASSERT_TRUE( parser.parse() ); << "parser.parse() failed" |
This file contains hidden or 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
| public CueVerticalTest : public testing::Test | |
| { | |
| protected: | |
| virtual void SetUp() | |
| { | |
| } | |
| virtual void SetFile(char * fileName) | |
| { |
This file contains hidden or 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
| tools/embed.js | |
| ({ | |
| baseUrl: '../src', | |
| paths: { | |
| 'text': '../external/require/text' | |
| }, | |
| has: { |
This file contains hidden or 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
| /*global text,expect,ok,module,notEqual,Butter,test,window*/ | |
| (function (window, document, Butter, undefined) { | |
| require( [ "../src/core/page", "../src/core/config", "../src/dependencies" ], | |
| function( Page, Config, Dependencies ) { | |
| var _config = Config.parse( '{ "test": "derp" }' ), | |
| _loader = Dependencies( _config ), | |
| _page = new Page( _loader, _config ); | |
| var $document = document |
This file contains hidden or 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
| css: function( url, exclude, callback, checkFn ){ | |
| var scriptElement; | |
| checkFn = checkFn || function(){ | |
| return !!scriptElement; | |
| }; | |
| url = fixUrl( url ); | |
| var interval; | |
| function f() { |
This file contains hidden or 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
| /** | |
| * Swap Twitter pictures, remove names from tweets in your twitter | |
| * stream. The effect is often hilarious. Can you figure out who | |
| * said what? | |
| * | |
| * Assumes you're running this bookmarklet from twitter.com. | |
| * | |
| * Quick hack, please improve as you see fit. @humphd | |
| **/ |
This file contains hidden or 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
| <!doctype html> | |
| <html> | |
| <head> | |
| <script src="http://popcornjs.org/code/dist/popcorn-complete.min.js"></script> | |
| <script> | |
| // ensure the web page (DOM) has loaded | |
| document.addEventListener("DOMContentLoaded", function () { | |
| // Create a popcorn instance by calling Popcorn("#id-of-my-video") | |
| var pop = Popcorn("#ourvideo"); |