You are here

function _video_allow_download in Video 5

Same name and namespace in other branches
  1. 6 video.module \_video_allow_download()
  2. 6.2 video.module \_video_allow_download()

Return true if the video is downloadable, false otherwise

1 call to _video_allow_download()
video_download in ./video.module
Redirects to download the video file.

File

./video.module, line 1010
Display video in Quicktime MOV, Realmedia RM, Flash FLV & SWF, or Windows Media WMV formats.

Code

function _video_allow_download($node) {

  // TODO: now videos are downloadable by default. why not implementing a feature to let users choose if they want their videos to be downloadable?
  return true;
}