There doesn't appear to be any easy way to provide a download link for a video file. This is an option for regular file fields via the display formatter, but is lost when video module takes over.

Comments

Jorrit’s picture

You can override the template in your theme to add this kind of functionality.

Tsubo’s picture

Yup. I could think of quite a few ways to achieve, but though it would be a nice addition to the module.

worldzfree’s picture

I'm rather new to Drupal and customizing it. Can someone provide a link to a site that would help me expose the download link for a video?

Jorrit’s picture

I don't know of a site, but you can start by copying the file video-play-html5.tpl.php to your theme directory and change it to your need. You need to be using the Video for everybody player to activate this file.

worldzfree’s picture

Thanks for the lead. So if I am using Video.JS I should copy the videojs.tpl.php file to my theme directory and change it to include download link?

hypertext200’s picture

Yep, that'll do the magic.

stovpow’s picture

Can you tell me how to link to the original file? I can't find the code in the video module. I found the code in the player to link to the playing file, i.e. MP4 or FLV, but I would like to add a link to the original file instead.

Thanks!

hypertext200’s picture

Component: Video Field » General
Issue summary: View changes
Status: Active » Closed (works as designed)