DailymotionStream.php in Video 8
File
src/StreamWrapper/DailymotionStream.php
View source
<?php
namespace Drupal\video\StreamWrapper;
use Drupal\Core\StreamWrapper\ReadOnlyStream;
use Drupal\Core\StreamWrapper\StreamWrapperInterface;
class DailymotionStream extends VideoRemoteStreamWrapper {
protected static $base_url = 'http://www.dailymotion.com/video';
public function getName() {
return t('Dailymotion');
}
public function getDescription() {
return t('Video served by the Dailymotion services.');
}
public static function baseUrl() {
return self::$base_url;
}
}