get_parameters();
$variables['video_id'] = check_plain($parts['v']);
//convert episode id from filepath to embed code
$variables['embed_code'] = media_archive_embedcode_lookup($variables['video_id']);
$variables['width'] = isset($variables['width']) ? $variables['width'] : media_archive_variable_get('width');
$variables['height'] = isset($variables['height']) ? $variables['height'] : media_archive_variable_get('height');
$variables['autoplay'] = isset($variables['autoplay']) ? $variables['autoplay'] : media_archive_variable_get('autoplay');
$variables['fullscreen'] = isset($variables['fullscreen']) ? $variables['fullscreen'] : media_archive_variable_get('fullscreen');
$variables['autoplay'] = $variables['autoplay'] ? 1 : 1;
$variables['fullscreen'] = $variables['fullscreen'] ? 'true' : 'false';
$variables['wrapper_id'] = 'media_archive_' . $variables['video_id'] . '_' . $variables['id'];
$mp4URL = 'http://www.archive.org/download/' . $variables['video_id'] . '/' . $variables['embed_code'] . '_512kb.mp4';
$ogvURL = 'http://www.archive.org/download/' . $variables['video_id'] . '/' . $variables['embed_code'] . '.ogv';
//Fix for IE!!
//
$variables['output'] = '';
// For users with JavaScript, these object and embed tags will be replaced
// by an iframe, so that we can support users without Flash.
/*
$variables['output'] = '';
*/
/*
$variables['output'] = <<