function video_support_download in Video 6.2
Same name and namespace in other branches
- 5 video.module \video_support_download()
- 6 video.module \video_support_download()
Return true if a given video type is downloadable
3 calls to video_support_download()
- video_download in ./
video.module - Redirects to download the video file.
- video_download_access in ./
video.module - video_link in ./
video.module - Internal Drupal links hook
File
- ./
video.module, line 656 - video.module
Code
function video_support_download($node) {
$info = video_get_type_info($node->vtype);
return $info[$node->vtype]['#downloadable'];
}