You are here

function oembedprovider_oembedprovider in oEmbed 6.0

Implementation of hook_oembedprovider().

Return value

array

File

./oembedprovider.module, line 79
Module for providing content as defined in the oEmbed specification

Code

function oembedprovider_oembedprovider() {
  $base_url = url('', array(
    'absolute' => TRUE,
  )) . 'node/*';
  return array(
    $base_url => array(
      'callback' => 'oembedprovider_node_provider',
    ),
  );
}