File "jwplayer.js"

Full Path: /var/www/bvnghean.vn/save_bvnghean.vn/wp-content/plugins/js_composer/assets/js/frontend_editor/vendors/plugins/jwplayer.js
File size: 664 bytes
MIME-type: text/plain
Charset: utf-8

(function ( $ ) {
	var minHeight = '340px';

	function vc_jwplayer_resize( target ) {
		jwplayer( target ).onReady( function () {
			$( this.container ).css( 'min-height', minHeight );
		} );
		$( jwplayer( target ).container ).css( 'min-height', minHeight );
	}

	$( document ).on( 'ready', function () {
		$( "div" ).filter( function () {
			return this.id.match( /^jwplayer\-\d+$/ );
		} ).each( function () {
			vc_jwplayer_resize( this )
		} );
	} );
	$( window ).on( 'vc_reload', function () {
		$( "div" ).filter( function () {
			return this.id.match( /^jwplayer\-\d+$/ );
		} ).each( function () {
			vc_jwplayer_resize( this )
		} );
	} );

})( jQuery );