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
<!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"); |
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
<!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"); |
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
<!doctype html> | |
<html> | |
<head> | |
<span id="popcorn-js"><script src="http://popcornjs.org/code/dist/popcorn-complete.min.js"></script></span> | |
<script> | |
<span id="eventlistener">// ensure the web page (DOM) has loaded | |
document.addEventListener("DOMContentLoaded", function () {</span> | |
<span id="popcorninstance">// Create a popcporn instance by calling Popcorn("#id-of-my-video") | |
var pop = Popcorn("#ourvideo");</span> |
NewerOlder