/* 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 );
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
brightcove.js | File | 893 B | 0644 |
|
jmpress.js | File | 78.86 KB | 0644 |
|
jquery.cycle.min.js | File | 26.13 KB | 0644 |
|
main.js | File | 7.52 KB | 0644 |
|
quiz.js | File | 2.76 KB | 0644 |
|
recipes-printthis.js | File | 9.37 KB | 0644 |
|
recipes.js | File | 377 B | 0644 |
|
slideshow-shortcode.js | File | 6.43 KB | 0644 |
|