You are here

function scald_youtube_create_default_info in Scald YouTube 7

Create a default info object.

2 calls to scald_youtube_create_default_info()
scald_youtube_feed in ./scald_youtube.module
Analyze a YouTube RSS feed to extract videos information.
scald_youtube_video_get_info in ./scald_youtube.module
Returns meta data on a YouTube video that are not found on the v3 API.

File

./scald_youtube.module, line 508
Defines a YouTube provider for Scald.

Code

function scald_youtube_create_default_info($id) {
  $info = new stdClass();
  $info->id = $id;
  $info->license = 'YT';
  $info->width = $info->video_width = 480;
  $info->height = $info->video_height = 365;
  return $info;
}