react-youtube icon indicating copy to clipboard operation
react-youtube copied to clipboard

How to embed a livestream permanent link?

Open izabelpletsch opened this issue 5 years ago • 6 comments

I want to embed a livestream using the permanent livestream link, that is "https://www.youtube.com/embed/live_stream?channel=CHANNELID". Unfortunatelly, everytime i try to do this i get the message "unavailable video". What can i do?

izabelpletsch avatar Aug 15 '20 03:08 izabelpletsch

@izbpletsch The YouTube Player API only supports referencing videos by the videoId property, so permanent links aren't supported.

ruisaraiva19 avatar Jan 24 '21 11:01 ruisaraiva19

Any update regarding this? I need to do this, but I can't find the way.

santi020k avatar Dec 09 '21 17:12 santi020k

any update on this?

firofame avatar Nov 04 '22 15:11 firofame

In the end, what we did was manage that from the back with the youtube api and transform the data we had to the link that the front needs to make the representation and with sockets we manage the events of the player to inform the back about the behavior of the user regarding the video.

santi020k avatar Nov 04 '22 16:11 santi020k

I believe youtube API has only 100 free hits. why pay for something that is free

firofame avatar Nov 19 '22 06:11 firofame

That already corresponds to the company to pay, but it was the best decision for us because in the future work it was much easier with that api

santi020k avatar Nov 19 '22 07:11 santi020k