diff options
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/brightcove.php')
-rw-r--r-- | plugins/jetpack/modules/shortcodes/brightcove.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/shortcodes/brightcove.php b/plugins/jetpack/modules/shortcodes/brightcove.php index 4906c1ca..8dbc9fd5 100644 --- a/plugins/jetpack/modules/shortcodes/brightcove.php +++ b/plugins/jetpack/modules/shortcodes/brightcove.php @@ -229,7 +229,13 @@ class Jetpack_Brightcove_Shortcode { } if ( $html5 ) { - wp_enqueue_script( 'brightcove-loader', plugins_url( 'js/brightcove.js', __FILE__ ), array( 'jquery' ), 20121127, false ); + wp_enqueue_script( + 'brightcove-loader', + Jetpack::get_file_url_for_environment( '_inc/build/shortcodes/js/brightcove.min.js', 'modules/shortcodes/js/brightcove.js' ), + array( 'jquery' ), + 20121127, + false + ); wp_localize_script( 'brightcove-loader', 'brightcoveData', array( 'tld' => esc_js( $js_tld ) ) ); |