Skip to content

Commit

Permalink
Merge branch 'develop' into feature/display-video-url
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarssanchez committed Jan 17, 2022
2 parents 3e71454 + 0d66153 commit d4ca94d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions includes/class-bc-setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,12 +321,16 @@ public static function admin_enqueue_scripts() {
$player_api = new BC_Player_Management_API2();
$players = $player_api->get_all_players();

$experiences_api = new BC_Experiences_API();
$experiences = $experiences_api->get_experiences();

$js_variable = array(
'path' => esc_url( BRIGHTCOVE_URL . 'assets/js/src/' ),
'preload' => self::preload_params(),
'wp_version' => $wp_version,
'languages' => BC_Utility::languages(),
'players' => $players,
'experiences' => $experiences,
'str_badformat' => esc_html__( 'This file is not the proper format. Please use .vtt files, for more information visit', 'brightcove' ),
'badformat_link' => esc_url( 'https://support.brightcove.com/en/video-cloud/docs/adding-captions-videos#captionsfile' ),
'str_addcaption' => esc_html__( 'Add Another Caption', 'brightcove' ),
Expand Down

0 comments on commit d4ca94d

Please sign in to comment.