VimeoStream.php in Video 8
File
src/StreamWrapper/VimeoStream.php
View source
<?php
namespace Drupal\video\StreamWrapper;
use Drupal\Core\StreamWrapper\ReadOnlyStream;
use Drupal\Core\StreamWrapper\StreamWrapperInterface;
class VimeoStream extends VideoRemoteStreamWrapper {
protected static $base_url = 'http://www.vimeo.com';
public function getName() {
return t('Vimeo');
}
public function getDescription() {
return t('Video served by the Vimeo services.');
}
public static function baseUrl() {
return self::$base_url;
}
}
Classes
Name |
Description |
VimeoStream |
Defines a YouTube (vimeo://) stream wrapper class. |