function media_23video_media_parse in Media 23video 7
Implements hook_media_parse().
@todo This hook should be deprecated. Refactor Media module to not call it any more, since media_internet should be able to automatically route to the appropriate handler.
File
- ./
media_23video.module, line 80 - 23Video service for Media.
Code
function media_23video_media_parse($embed_code) {
$class = MEDIA_23VIDEO_PROVIDER;
$handler = new $class($embed_code);
return $handler
->parse($embed_code);
}