function _video_allow_download in Video 6.2
Same name and namespace in other branches
- 5 video.module \_video_allow_download()
- 6 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 1140 - video.module
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;
}