You are here

public function MediaInternetBrightcoveHandler::getFileObject in Brightcove Video Connect 7.6

Same name and namespace in other branches
  1. 7.7 brightcove_media/includes/MediaInternetBrightcoveHandler.inc \MediaInternetBrightcoveHandler::getFileObject()
  2. 7.2 brightcove_media/MediaInternetBrightcoveHandler.inc \MediaInternetBrightcoveHandler::getFileObject()
  3. 7.3 brightcove_media/MediaInternetBrightcoveHandler.inc \MediaInternetBrightcoveHandler::getFileObject()
  4. 7.4 brightcove_media/includes/MediaInternetBrightcoveHandler.inc \MediaInternetBrightcoveHandler::getFileObject()

Returns a file object which can be used for validation

Return value

StdClass

1 call to MediaInternetBrightcoveHandler::getFileObject()
MediaInternetBrightcoveHandler::save in brightcove_media/includes/MediaInternetBrightcoveHandler.inc
Save the file object.

File

brightcove_media/includes/MediaInternetBrightcoveHandler.inc, line 88
Internet handler for Brightcove videos.

Class

MediaInternetBrightcoveHandler
@file Internet handler for Brightcove videos.

Code

public function getFileObject() {
  $uri = $this
    ->parse($this->embedCode);
  return brightcove_media_file_uri_to_object($uri);
}