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