1jQuery(document).ready(function ($) { 2 $("a.spp-timestamp").click(function(){ 3 4 5 var time = $(this).attr("time"); 6 7 var listSoundIds = window.soundManager.soundIDs; 8 var soundId = window.soundManager.soundIDs[0]; 9 10 if (listSoundIds[0] == null) { 11 $( ".sm2-inline-button")[0].click(); 12 soundId = window.soundManager.soundIDs[0]; 13 soundManager.getSoundById(soundId).setPosition(time*1000); 14 } 15 16 17 else if (soundManager.getSoundById(soundId).paused) { 18 soundManager.getSoundById(soundId).setPosition(time*1000); 19 setTimeout(function(){ 20 soundManager.resume(soundId); 21 },500); 22 23 24 } 25 26 // Either playing or never started 27 else { 28 $( ".sm2-inline-button")[0].click(); 29 soundManager.resume(soundId); 30 soundManager.getSoundById(soundId).setPosition(time*1000); 31 } 32 33 34 35 }); 36});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.