You are here

function oembed_stream_wrappers in oEmbed 7

Same name and namespace in other branches
  1. 7.0 oembed.module \oembed_stream_wrappers()

Create stream wrapper for oEmbed videos.

File

./oembed.module, line 604
Core functionality for oEmbed

Code

function oembed_stream_wrappers() {
  return array(
    'oembed' => array(
      'name' => t('oEmbed resources'),
      'class' => 'OEmbedStreamWrapper',
      'description' => t('Resources provided by oEmbed.'),
      'type' => STREAM_WRAPPERS_READ_VISIBLE,
    ),
  );
}