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