function media_youtube_raw_url in Media: YouTube 6
Return the URL to the raw flash.
1 call to media_youtube_raw_url()
- emvideo_youtube_raw_url in providers/
emvideo/ youtube.inc - hook emvideo_PROVIDER_raw_url returns the url to the raw flash.
File
- ./
media_youtube.module, line 598 - Embedded Video Field provider file for YouTube.com.
Code
function media_youtube_raw_url($video_id) {
$data = media_youtube_emfield_data($video_id);
if (isset($data['flash']) && isset($data['flash']['url'])) {
return $data['flash']['url'];
}
}