Hi All,
On our main site I need to create a link to allow logged in users either download or view in their browser, a video file hosted on our .tv site, but I keep running into roadblocks.
Two things to keep in mind.
1) the links and database are on our main site.
2) the file itself it hosted on our .tv site.
I tried to use a 'in between' page to write our the Id,datetime, and what file the are downloading/viewing, but here is where I run into issues.
1) The file on our .tv site is a .mov file in and I can just direct them to it and it will open in the browser, but I cannot stop someone from downloading the file directly and bypassing my if/else code to check if they are logged in.
2) I tried to use an in between page to store their data and send them to a page on our main site with a link to download or to open the file remotely within that page, but the server is set with remote file download off, and I do not know if I want to enable that just for this purpose.
So what I would like to do is:
(main site)
A page with the link to download/view the movie, but redirect them to login if they have not done so. (I got this accomplished).
Then, if they are logged in, give them the link to download the file (and hide the location, on our other server if possible), and record their actions. Or let them view the file in the browser, from our other server and hide the link, and record their action.
I hope I am not complicating this and I am clear enough.
As always, thanks in advance.
Don