golden hour
/home/doctorbruno/public_html/pgmed.org/wp-content/plugins/jetpack/modules/shortcodes/js
⬆️ Go Up
Upload
File/Folder
Size
Actions
brightcove.js
893 B
Del
OK
dependencies.js
62 B
Del
OK
main.js
7.54 KB
Del
OK
quiz.js
2.76 KB
Del
OK
recipes.js
377 B
Del
OK
slideshow-shortcode.js
6.47 KB
Del
OK
Edit: 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 );
Save