I noticed that the download link does not seem to work properly whenever the download tab is turned off.

The problem seem to lie with line 112 of video.module:

if (variable_get('video_displaydownloadmenutab', 1) == 1 and (_video_get_filetype($node->vidfile) != 'youtube' and _video_get_filetype($node->vidfile) != 'googlevideo')) {

If the download menu tab is turned off, the code in the "if" statement doesn't get executed. The code in the "if" statement provides the necessary callback used by the download link. I removed the check for the download menu tab and the download link worked as it should:

if (_video_get_filetype($node->vidfile) != 'youtube' and _video_get_filetype($node->vidfile) != 'googlevideo') {

It seems as though most people use the download tab so this problem may have gone unnoticed (as far as I could tell from a quick search through the current issues for this project).

I'm a noob at Drupal, so please take it for what it's worth.

Comments

fax8’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)