public function MediaBrightcoveStreamWrapper::interpolateUrl in Brightcove Video Connect 7.2
Same name and namespace in other branches
- 7.3 brightcove_media/MediaBrightcoveStreamWrapper.inc \MediaBrightcoveStreamWrapper::interpolateUrl()
File
- brightcove_media/
MediaBrightcoveStreamWrapper.inc, line 12
Class
Code
public function interpolateUrl() {
if ($video_id = $this
->getVideoID()) {
// @todo find out how to detect this url in a nice way, it might break any time
return url('http://c.brightcove.com/services/viewer/federated_f9', array(
'query' => array(
'playerID' => variable_get('brightcove_player'),
'playerKey' => variable_get('brightcove_player_key'),
'isVid' => 'true',
'isUI' => 'true',
'@videoPlayer' => $video_id,
),
));
}
return NULL;
}