extract seconds from link hash
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 18 Oct 2009 18:47:30 +0000 (20:47 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 18 Oct 2009 18:47:30 +0000 (20:47 +0200)
www/html5tv.js

index b78ec7d..620fb0c 100644 (file)
@@ -98,8 +98,9 @@ $().ready(function() {
 \r
        $('td.seek_video').click( function() {\r
 //console.debug( 'click', this );\r
-                       var to = this.textContent;\r
-//console.debug( 'seek', to );\r
+                       var mmss = this.textContent;\r
+                       var to = this.firstChild.hash.replace('#','');\r
+//console.debug( 'seek', mmss, to );\r
                        seek_video( to );\r
        } );\r
 });\r