function video_support_download in Video 5
Same name and namespace in other branches
- 6 video.module \video_support_download()
- 6.2 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_link in ./
video.module - Internal Drupal links hook
- video_menu in ./
video.module - Implementation of hook_menu().
File
- ./
video.module, line 608 - Display video in Quicktime MOV, Realmedia RM, Flash FLV & SWF, or Windows Media WMV formats.
Code
function video_support_download($node) {
$info = video_get_type_info($node->vtype);
return $info[$node->vtype]['#downloadable'];
}