You are here

function brightcove_player_list in Brightcove Video Connect 7.3

Same name and namespace in other branches
  1. 7.7 brightcove.module \brightcove_player_list()
  2. 7.2 brightcove.module \brightcove_player_list()
  3. 7.4 brightcove.module \brightcove_player_list()
  4. 7.5 brightcove.module \brightcove_player_list()
  5. 7.6 brightcove.module \brightcove_player_list()

Get players list.

Return value

mixed

6 calls to brightcove_player_list()
brightcove_media_file_formatter_video_settings in brightcove_media/brightcove_media.module
The brightcove_media_video file formatter settings callback.
_brightcove_field_playlist_instance_settings_form in brightcove_field/brightcove_field.playlist.inc
@file Holds all of the playlist field related methods.
_brightcove_field_playlist_widget_form in brightcove_field/brightcove_field.playlist.inc
_brightcove_field_video_instance_settings_form in brightcove_field/brightcove_field.video.inc
@file Holds all of the video field related methods.
_brightcove_field_video_widget_form in brightcove_field/brightcove_field.video.inc

... See full list

File

./brightcove.module, line 814
Brightcove module is an integration layer between any modules using Brightcove API. It makes all necessary checks for the API and makes settings available to the user.

Code

function brightcove_player_list() {
  $players = brightcove_player_load_all();
  $return = array();
  foreach ($players as $id => $player) {
    $return[$id] = $player->display_name;
  }
  return $return;
}