1(function ( $ ) { 2 'use strict'; 3 4 var minHeight = '340px'; 5 6 function vc_jwplayer_resize( target ) { 7 window.jwplayer( target ).onReady( function () { 8 $( this.container ).css( 'min-height', minHeight ); 9 } ); 10 $( window.jwplayer( target ).container ).css( 'min-height', minHeight ); 11 } 12 13 $( document ).on( 'ready', function () { 14 $( "div" ).filter( function () { 15 return this.id.match( /^jwplayer\-\d+$/ ); 16 } ).each( function () { 17 vc_jwplayer_resize( this ); 18 } ); 19 } ); 20 $( window ).on( 'vc_reload', function () { 21 $( "div" ).filter( function () { 22 return this.id.match( /^jwplayer\-\d+$/ ); 23 } ).each( function () { 24 vc_jwplayer_resize( this ); 25 } ); 26 } ); 27 28})( window.jQuery );
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.