This is how I got player ID and player Key for brightcove player in 7.x-5.x.
$player = db_select('brightcove_player', 'bcp')
->fields('bcp')
->condition('name', 'chromeless_video_player')
->execute()
->fetchObject();
if (isset($player->pid)) {
$bc_settings = array(
'player_id' => $player->player_id,
'player_key' => $player->player_key,
);
drupal_add_js(array('module_name' => $bc_settings), 'setting');
}
This is to play the video dynamically on click from thumbnail image. Library used to play the video is https://github.com/carmineolivo/jquery.brightcove-video
After upgrade to 7.x-6.x, brightcove_player table is removed, How do I get the player Key and player ID for the player using the new version?
Closed: outdated
6.5
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.