Answer the question
In order to leave comments, you need to log in
How to proxy a player that will relay YouTube videos to your player?
I want to implement a player on the server that will relay YouTube videos to my player.
The place on the VPS is limited, and there are a lot of videos - so you won't be able to cache movies.
I guess that you need to look in the direction of nginx ... But what to use in conjunction with it and how to spin this in general?
Answer the question
In order to leave comments, you need to log in
well, relay, nginx has nothing to do with it at all, everything will probably be implemented in the player itself.
In order to rebroadcast a video, you will first need to extract a direct link to it. Google does not provide direct links to their videos. Pulling direct links:
1) violates the license agreement
2) difficult to implement
If these two points do not scare you, then there are two options:
- opening a link in a browser and intercepting a direct link by a plug-in for it
- changing the parsing scheme with each change in the youtube layout
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question