Hello, my idea is a video portal. The podcast videos has no fixed URL. The video will send from a web server after a POST request.
My idea:
Starting a xhr (POST) request and saving the input in a temp file. Now I link the video player to this tem file. Is it possible?
Rainer
1 Answer
This has very little to do with the mobile side of things. Most of this will have to occur on the server side. You send a POST to a server and the response has to be a download for the most part. All in all, I don't like this idea at all. If the video is on the server already, why for a download just to watch the video. Go ahead and POST to the server, the response will be a url with a token that makes the video available for that token, then stream the video to the device with an option to download if necessary. The download will still require the token, which has already been retrieved via the post request. Regardless, the best way to handle this would be to request the server, return a token, then use that token to request the video.
Your Answer
Think you can help? Login to answer this question!