Better Download Video Mod
This mod allows all users or just registered users to download videos, unregistered users will be directed to the login/signup page if they try to download and then redirected back to the video once logged in. Choice of download type, the FLV file, orginal video file or both.
on view_video.tpl find
Now choose one of the options below:
If you want only registered users to be able to download the FLV file replace with
If you want only registered users to be able to download the orginal video file replace with
If you want anyone to be able to download the FLV file replace with
If you want anyone to be able to download the original video file then you dont need to make any changes.
If you want both the FLV and orginal video available to download then just put both the FLV and orginal video code on the same page.
Now i just need to figure out if its possible to make a "only paid subscribers are able to download" option.
Re: Better Download Video Mod
When i try to download a FLV video with Firefox, it open me a new page with the flv code instead of downloading the file.
Like this:
Code:
FLV??? ?????J????????
onMetaData??? ?duration?@F‘ë…¸R?
videodatarate?@tÅ$€kp?lastkeyframetimestamp?@Fˆ“t¼j?lastkeyframelocation?A<–Ð?????creator?
YouTube, Inc.?metadatacreator?YouTube Metadata Injector.?haskeyframes?hasmetadata? keyframes?times
???.???????????õS÷ÎÙ‡??öffffff??÷xÔýó¶F??ø‡+Iº??ù™™™™™š??ú¬1&éy??ûº^5?|î??üÌÌÌÌÌÍ??ýß;dZ¬??þ*‘hr°!?@????????@?‰7KƧð?@bMÒñª?@©ûçl‹D?@‰7KƧð?@™™™™™š?@»dZ¬?@"ÌÌÌÌÌÍ?@&ª~ùÛ"Ñ?@(ÌÌÌÌÌÍ?@,D“t¼j?@,ffffff?@,ˆ´9Xb?@,ª~ùÛ"Ñ?@,ÌÌÌÌÌÍ[email protected]“t¼j?@/»çl‹C–?@1ÌÌÌÌÌÍ?@2»¥ãS÷Ï?@3»¥ãS÷Ï?@4îÙ‡+?@7ªÀƒn˜?@8Ýó¶E¡Ë?@:Ýó¶E¡Ë?@<"Iº^5?@>ˆr° Äœ?@@D9XbN?@AîùÛ"Ðå?@B»Æ§ï²?@D333333?@E÷l‹C•?@FnùÛ"Ðå?@Fwl‹C•?@F€??????@Fˆ“t¼j?
It only do this with firefox, works fine with IE. Any idea why?
Re: Better Download Video Mod
you probably have your firefox options set to view the file in firefox rather than download it.
Re: Better Download Video Mod
Quote:
Originally Posted by leki
you probably have your firefox options set to view the file in firefox rather than download it.
Yes, its what I thought, but i tried to find or modify some download options in my firefox browser and it didnt fixed anything.
Here is a flv video link that you can try to download using firefox. Tell me if you can download it please.
http://worldadstv.com/flvideo/1190149202636709181.flv
Re: Better Download Video Mod
cant you right click on it and save the file?
Re: Better Download Video Mod
Yes, its working that way
Re: Better Download Video Mod
hey,
can the Download only aviable for Gold Packages etc?
Re: Better Download Video Mod
if there was smarty code for packages then yes it would be easy to give paying members extra features...but currently no
Re: Better Download Video Mod
Hi,
This doesn't seem to work for me. I am using verison 2.6
This is the text mentioned in this mod
"{if $allow_download == 1}
[img]{$baseurl}/templates/images/download.png[/img] Download
{/if}"
In version 2.6 the text in view_video.tpl has been changed to:
"{if $allow_download == 1 && $video_info.vtype eq 0}
[img]{$baseurl}/templates/images/download.png[/img] Download
{/if}"
Now when I make the change and try to download the video I get the message "user not found"
Any suggestion on how to get this working :)
Thanks
What I want to do is allow anyone to download the flv version of the file.
Re: Better Download Video Mod
I don't allow for downloads on my sites since the .flvs are not watermarked with my domain names, otherwise I'd probably allow it...but this is a great addition to the script! Thanks for "vSharing" :D
Speaking of branding the videos...anybody got a good resource for that or how to do it? Oh, never mind, I'll either search the forums or start another post on that subject....
Re: Better Download Video Mod
Re: Better Download Video Mod
Unfortunately, I had to remove the original files from the video folder. They were taking up too much room. I backed them all up on my computer in case I ever wanted to use them, but when it started taking up more than 100GB of space on my hard drive, I ended up having to remove them from there as well.
Oh well.
Re: Better Download Video Mod
Too bad you couldn't have burned them onto a cd/dvd or something. Dang.
Re: Better Download Video Mod
I thought about it at the time, but since it was over 100GB, it would have taken a decent stack of CDs, and it would keep growing every week.
I guess if people were paying a 0.25 or 0.50 per download it might be worth it, but for a free site it's not really worth the trouble. If I ever get to that point, I'll just have to reconvert the flv files into mpg, and have someone write a custom download script. That's more trouble, but it would give me more consistency anyway. Those other files ranged from flv to mov to wmv to whatever. It was really kind of junky, and I think the ones that had used another site for the upload source didn't even appear there at all.
Re: Better Download Video Mod
What about allow downloads only for paid members?
You can program the code in any way with the UID and Pack_id data from the database?
Re: Better Download Video Mod
I get USER NOT FOUND when the download icon is clicked on
Not sure why this is?
Any help would be greatfull
Re: Better Download Video Mod
Figured that would work but it didnt
Got it