function media_vimeo_video_url in Media: Vimeo 6
Return the direct URL to this video.
Parameters
string $video_code: The Vimeo video id.
Return value
string The direct URL to the video in question.
1 call to media_vimeo_video_url()
- emvideo_vimeo_embedded_link in includes/
providers/ emvideo/ vimeo.inc - hook emvideo_PROVIDER_embedded_link($video_code) returns a link to view the video at the provider's site
File
- ./
media_vimeo.module, line 85 - media_vimeo/media_vimeo.module Embedded Video Field provider file for Vimeo.com.
Code
function media_vimeo_video_url($video_code) {
return url('http://www.vimeo.com/' . $video_code);
}