You are here

public static function VideoRemoteStreamWrapper::baseUrl in Video 8

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

Finds and returns the base URL for read only stream.

Return value

string The external base URL

2 calls to VideoRemoteStreamWrapper::baseUrl()
VideoRemoteStreamWrapper::basePath in src/StreamWrapper/VideoRemoteStreamWrapper.php
Returns the base path for stream wrapper.
VideoRemoteStreamWrapper::getExternalUrl in src/StreamWrapper/VideoRemoteStreamWrapper.php
Returns a web accessible URL for the resource.
6 methods override VideoRemoteStreamWrapper::baseUrl()
DailymotionStream::baseUrl in src/StreamWrapper/DailymotionStream.php
Finds and returns the base URL for read only stream.
FacebookStream::baseUrl in src/StreamWrapper/FacebookStream.php
Finds and returns the base URL for read only stream.
InstagramStream::baseUrl in src/StreamWrapper/InstagramStream.php
Finds and returns the base URL for read only stream.
VimeoStream::baseUrl in src/StreamWrapper/VimeoStream.php
Finds and returns the base URL for read only stream.
VineStream::baseUrl in src/StreamWrapper/VineStream.php
Finds and returns the base URL for read only stream.

... See full list

File

src/StreamWrapper/VideoRemoteStreamWrapper.php, line 32

Class

VideoRemoteStreamWrapper
Defines a video read only stream wrapper class.

Namespace

Drupal\video\StreamWrapper

Code

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