changeset 1:c590046d502c

window.ready() instead of window.load(), added cc license, set autobuffer of audio on.
author Atul Varma <varmaa@toolness.com>
date Thu, 04 Feb 2010 13:51:16 -0800
parents 542617bbab09
children fa39ca3f856e
files ff-herdict-preso.html js/ff-herdict-preso.js
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ff-herdict-preso.html	Thu Feb 04 13:40:48 2010 -0800
+++ b/ff-herdict-preso.html	Thu Feb 04 13:51:16 2010 -0800
@@ -74,12 +74,15 @@
       <p>For more information, visit the <a href="https://wiki.mozilla.org/Firefox/Projects/Herdict">project wiki page</a>.</p>
     </div>
   </div>
-  <audio id="main" controls="indeed" src="audio/ff-herdict-preso.ogg">
+  <audio id="main" controls="indeed" autobuffer="indeed"
+         src="audio/ff-herdict-preso.ogg">
   Alas, this presentation requires <a
   href="http://getfirefox.com">Firefox</a> or another
   standards-compliant browser that
   supports the <code>audio</code> element and Ogg Vorbis.
   </audio>
+  <p id="license">
+  <a rel="license" href="http://creativecommons.org/licenses/by/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/3.0/us/80x15.png" /></a></p>
 </div>
 </body>
 <script src="js/jquery.js"></script>
--- a/js/ff-herdict-preso.js	Thu Feb 04 13:40:48 2010 -0800
+++ b/js/ff-herdict-preso.js	Thu Feb 04 13:51:16 2010 -0800
@@ -1,5 +1,4 @@
-
-$(window).load(
+$(window).ready(
   function() {
     var slides = [];
     var audio = $("audio#main").get(0);