Comments (0)

Files changed (2)

File websrt.css Modified

View file
  • Ignore whitespace
  • Hide word diff
 /* JSCaptions
  * https://bitbucket.org/tagawa/jscaptions
  * 
- * A slightly edited version of a WebSRT parser written by Philip Jägenstedt (@foolip):
+ * Based on a WebSRT parser written by Philip Jägenstedt (@foolip):
  * http://people.opera.com/philipj/2010/07/21/html5-video-webinar/demos/track.html
  * 
  * This file accompanies websrt.js

File websrt.js Modified

View file
  • Ignore whitespace
  • Hide word diff
 /* JSCaptions
  * https://bitbucket.org/tagawa/jscaptions
  * 
- * A slightly edited version of a WebSRT parser written by Philip Jägenstedt (@foolip):
+ * Based on a WebSRT parser written by Philip Jägenstedt (@foolip):
  * http://people.opera.com/philipj/2010/07/21/html5-video-webinar/demos/track.html
  * 
  * This file accompanies websrt.css
     var xhr = new XMLHttpRequest();
     xhr.open('GET', srtUrl, false);
     xhr.send();
-    var captions = parseSrt(xhr.responseText, 1, 0, 0.2);
+    var captions = parseSrt(xhr.responseText, 1, 0, 0.1);
 
     function updateCaption() {
         var now = v.currentTime;