What about they get a code to watch it directly from YouTube and the code expires after a certain amount of time? I thought I read somewhere that you can make videos private and issue a code to view???
So they are able to download a video directly from youtube? Even if marked private?
@RobertTheShark is right about everything he wrote but there can be a way.
Forget youtube, it isn't good for what you want.
You need to host the video in your website. Then the video would load with a token (I think we call it that way) like website.com?video.mp4&token=123
As soon as the video loads the token expires. If they try to manually download the video by accessing the link it won't work because the website/server will return an error message.
The problem is, I don't know if its possible to download the video from the "cache"...
EDIT: It is possible to view the video from cache. Here's how:
It is possible to send headers from the server and tell the browser to prevent caching YET it is still possible to alter those headers sent from the server using a proxy like CharlesProxy or similar programs. Still this would require the user or the person trying to download the video to have some knowledge on how http requests work, etc but nothing that a developer couldn't do.
EDIT 2: Have a look at how udemy is doing with their videos. maybe you could do the same.
EME (Encrypted Media Extension) is what Netflix and the others use for their DRM protection.
So maybe there is some service offering that for OP, because implementing that on your own site is way too heavy.
I also forgot: if one wants to really save your video he could just record it with a screen recorder lol.
https://www.sitepoint.com/generating-one-time-use-urls/
Host your content in your own server. Then use a one time usable URL to stream that. For a tutorial, this one should be useful
Code:https://www.sitepoint.com/generating-one-time-use-urls/
Additionally, do not use HTML5 to embed the video. Use a flash player (this has to be a custom one, which is a PITA to make), which will make it harder for the user to download the video. With that, you can break up the video into tiny segments and call one segment after another ( from your flash player ofcourse).
Not sure what you mean. Do you mean free videos? Ofcourse you can. Depends on the site structure. You can even use the same mechanism and just allow everyone to access the free videos.Will it be possible to support a fee videos on the same site?
For copyright, you can watermark your videos easily. That should atleast make it harder for someone else to reupload it somewhere.Should I do something to copyright my video just in case someone does find a way to download it?
Ofcourse it can, depending on how you build the site lol. If you take my advice, get the DB schema sorted before you move on to securing your videos.I meant a few videos...typo! Can 1 site support several videos or is there a limit?