You are here

public static function YoutubeStream::baseUrl in Video 8.2

Same name and namespace in other branches
  1. 8 src/StreamWrapper/YoutubeStream.php \Drupal\video\StreamWrapper\YoutubeStream::baseUrl()

Finds and returns the base URL for read only stream.

Return value

string The external base URL

Overrides VideoRemoteStreamWrapper::baseUrl

File

src/StreamWrapper/YoutubeStream.php, line 32

Class

YoutubeStream
Defines a YouTube (youtube://) stream wrapper class.

Namespace

Drupal\video\StreamWrapper

Code

public static function baseUrl() {
  return self::$base_url;
}