hyperlink for intern file.

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Rob532
 
 
Posts: 2
Joined: Tue May 09, 2017 9:04 am

hyperlink for intern file.

Post by Rob532 »

Hello,

I have made a hyperlink to a MP4 file. Works great.
But I see that there is a possibility to download that file. And that is not what I want.
Only viewing. How can I do that?

Thanks

Regards
Rob
User avatar
Pablo
 
Posts: 21580
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: hyperlink for intern file.

Post by Pablo »

You cannot prevent the file from being downloaded.
In order to view the video, it must first be downloaded to the user's computer.
alan_sh
 
 
Posts: 1681
Joined: Tue Jan 01, 2019 5:50 pm

Re: hyperlink for intern file.

Post by alan_sh »

You could create a free account on Youtube, upload it there and then hyperlink to that. There are still ways of downloading it, but it's much harder.

Alan
Rob532
 
 
Posts: 2
Joined: Tue May 09, 2017 9:04 am

Re: hyperlink for intern file.

Post by Rob532 »

OK thank you very much for your advise
Have a nice weekend
User avatar
BaconFries
 
 
Posts: 5328
Joined: Thu Aug 16, 2007 7:32 pm

Re: hyperlink for intern file.

Post by BaconFries »

If using the HTML5 video object to playback the MP4 then it is possible to disable the download button so not to allow the download. It is still possible to download from YouTube if the user/visitor has a premium account or they use readily available apps/apks on mobile devices or certain programs for desktop so it not as hsrd as it may seem.
I am not at my PC but will try and post a way for you to add that should hide the download button. Please note most methods arnt guaranteed as it is still possible to grab tje files from the browser's cache if the end user knows how.
User avatar
BaconFries
 
 
Posts: 5328
Joined: Thu Aug 16, 2007 7:32 pm

Re: hyperlink for intern file.

Post by BaconFries »

If using the HTML5 video object then insert the code below in Page HTML between <head></head>tags*

Code: Select all

<style>
video::-internal-media-controls-download-button
{
display:none;
}
video::-webkit-media-controls-enclosure
{
overflow:hidden;
}
video::-webkit-media-controls-panel 
{
width: calc(100% + 30px); 
}
</style>
Post Reply