1//ver_video/view 2//ver_video/video_flash 3(function() { 4 function waitForjQueryPlugins(callback) { 5 if (typeof window.jQuery !== 'undefined' && 6 typeof window.$ !== 'undefined' && 7 typeof $.fn.modal !== 'undefined') { 8 callback(); 9 } else { 10 setTimeout(() => waitForjQueryPlugins(callback), 50); 11 } 12 } 13 14 waitForjQueryPlugins(() => { 15 $('.modal').on('hide.bs.modal', function () { //Change #myModal with your modal id 16 $('audio').each(function(){ 17 this.pause(); // Stop playing 18 //this.currentTime = 0; // Reset time 19 }); 20 }) 21 $('.modal').on('show.bs.modal', function () { //Change #myModal with your modal id 22 $('audio').each(function(){ 23 this.pause(); // Stop playing 24 //this.currentTime = 0; // Reset time 25 }); 26 }) 27 }); 28})();
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.