function video_url_v_download in Video 5
Same name and namespace in other branches
- 6 types/video_url/video_url.module \video_url_v_download()
- 6.2 types/video_url/video_url.module \video_url_v_download()
Implements the hook_v_download
File
- types/
video_url/ video_url.module, line 97 - Enable Path or URL support for video module.
Code
function video_url_v_download($node) {
$url = _video_get_fileurl($node->vidfile);
header("Location: {$url}");
//Redirect to the video file URL.
}