public static function get_related_videos_for_external_video_data($external_video_library_id, $video_data, $external_video_provider_id = NULL, $start = NULL, $duration = NULL)
 {
     // print_r($start . '  - ' . $duration);exit;
     /*
      * TODO:
      *        Surely a better way of extracting this data?
      */
     $tag_ids = array();
     foreach ($video_data['tags'] as $tag) {
         $tag_ids[] = $tag['id'];
     }
     if (isset($external_video_provider_id)) {
         return VideoLibrary_DatabaseHelper::get_related_external_videos_for_tag_ids($external_video_library_id, $tag_ids, $external_video_provider_id, $video_data['id'], $start, $duration);
     } else {
         return VideoLibrary_DatabaseHelper::get_related_external_videos_for_tag_ids($external_video_library_id, $tag_ids, NULL, $video_data['id'], $start, $duration);
     }
 }