Answer the question
In order to leave comments, you need to log in
Is it possible to somehow get the link to hls youtube and run it in html5 video without iframe?
Is it possible to somehow get the link to hls youtube and run it in html5 video without iframe?
Answer the question
In order to leave comments, you need to log in
You need to work with the youtube API. Having received data about the video, it will be necessary to parse the link, pull out the parameters and create a link to the video. Below is an example on codepen, there is all the code that is needed.
The only option is to download a video from YouTube (for automation, you can use the API of a third-party service) and actually show it in your player.
Ps At your own peril and risk, Google / YouTube if it burns and is offended, then do not expect good
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question