extract seconds from link hash
[HTML5TV.git] / 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