From: Daniel Hodgin Date: Mon, 31 May 2010 21:17:47 +0000 (-0400) Subject: added comments to video.js to explain functions X-Git-Tag: v0.1~84 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=41db37922f99f015103ff597e1fe15325ceffeeb;p=popcorn-js.git added comments to video.js to explain functions --- diff --git a/video.js b/video.js index d29696e..1b8ce7b 100644 --- a/video.js +++ b/video.js @@ -1,3 +1,4 @@ +// fire when DOM is ready, jQuery shortcut for $(document).ready $(function() { $("video").each(function() { if (lang=window.location.search.substring(1)) { @@ -20,6 +21,7 @@ $(function() { }); var lt = 0; +// fires when ontimeupdate() runs from