You are here

function video_support_download in Video 6

Same name and namespace in other branches
  1. 5 video.module \video_support_download()
  2. 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 578
video.module

Code

function video_support_download($node) {
  $info = video_get_type_info($node->vtype);
  return $info[$node->vtype]['#downloadable'];
}