5 * Contains \Drupal\video\StreamWrapper\InstagramStream.
8 namespace Drupal\video\StreamWrapper;
10 use Drupal\Core\StreamWrapper\ReadOnlyStream;
11 use Drupal\Core\StreamWrapper\StreamWrapperInterface;
14 * Defines a InstagramStream (instagram://) stream wrapper class.
16 class InstagramStream extends VideoRemoteStreamWrapper {
18 protected static $base_url = 'https://www.instagram.com/p';
23 public function getName() {
24 return t('Instagram');
30 public function getDescription() {
31 return t('Video served by the Instagram services.');
37 public static function baseUrl() {
38 return self::$base_url;