1 2jQuery(document).ready(function() { 3 // PAUSE OTHER VIDEOS WHEN PLAY 4 jQuery('.videojs-hls-player-wrapper video').each(function (videoIndex) { 5 var videoId = jQuery(this).attr('id'); 6 videojs(videoId).ready(function() { 7 this.on('play', function(e) { 8 jQuery('.video-js').each(function (index) { 9 if (videoIndex !== index) { 10 this.player.pause(); 11 } 12 }); 13 }); 14 }); 15 }); 16});
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.