function media_vimeo_media_parse in Media: Vimeo 7
Same name and namespace in other branches
- 7.2 media_vimeo.module \media_vimeo_media_parse()
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_vimeo.module, line 97 - media_vimeo/media_vimeo.module
Code
function media_vimeo_media_parse($embed_code) {
$handler = new MediaInternetVimeoHandler($embed_code);
return $handler
->parse($embed_code);
}