diff --git a/docs/extra.js b/docs/extra.js new file mode 100644 index 00000000..5094a3f5 --- /dev/null +++ b/docs/extra.js @@ -0,0 +1,55 @@ +(function() { + //var stopPlayAt = 33, // Stop play at time in seconds //Mike Oldfield - The Top Of The Morning + //var stopPlayAt = 21, // Stop play at time in seconds // Chariots of Fire Theme • Vangelis + var stopPlayAt = 35, // Stop play at time in seconds // Jan Hammer - Crockett's Theme + stopPlayTimer; // Reference to settimeout call + + // This code loads the IFrame Player API code asynchronously. + var tag = document.createElement("script"); + tag.src = "//www.youtube.com/iframe_api"; + var firstScriptTag = document.getElementsByTagName("script")[0]; + firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); + + // This function creates an