HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/appointmentbook.me/wp-content/plugins/jetpack/modules/shortcodes/js/brightcove.js
/* global brightcove, brightcoveData */
( function ( $ ) {
	var script = document.createElement( 'script' ),
		tld = 'co.jp' === brightcoveData.tld ? 'co.jp' : 'com',
		timer = false;

	// Load Brightcove script
	script.src = 'https://sadmin.brightcove.' + tld + '/js/BrightcoveExperiences.js';
	script.type = 'text/javascript';
	script.language = 'JavaScript';
	document.head.appendChild( script );

	// Start detection for Brightcove script loading in its object
	try_brightcove();

	// Detect if Brightcove script has loaded and bind some events once loaded
	function try_brightcove() {
		clearTimeout( timer );

		if ( 'object' === typeof brightcove ) {
			$( document ).ready( brightcove.createExperiences );
			$( 'body' ).on( 'post-load', brightcove.createExperiences );

			brightcove.createExperiences();
		} else {
			timer = setTimeout( try_brightcove, 100 );
		}
	}
} )( jQuery );