Jump to content

API stream video from HTML5 video player but secure


deeaamon

Recommended Posts

deeaamon

Hi all,

I am working on an external script using the API to stream videos from an ionic app. The problem is the video player is HTML5 and videos are downloadable.  I don't want the videos to be downloadable.  Here is a break down of what I want to do.

  1. Have a user login using the AuthenticateByName endpoint.  I already have this working
  2. Grab the User Token from the above step.
  3. Access a video by the video ID and by the User Token
  4. Once token is expired can no longer access the video

Also in HMTL5 if a user views the pages source code,  it shows the URL for video including the api_key.  I want to use the token so that they cannot go directly to that URL to watch the video.  

Hopefully this makes sense to you all.  I don't know exactly how to explain my dilemma.  I am trying to learn the API by building a streaming video service like Netflix.  No reason I just want to learn how to do it.  But it would be nice if the videos were secure and could not be downloaded.

Thanks for any advice

Darrell

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...