YouTube Chat Live streaming embed doesn't work anymore

Viewed 340

so for some reason this Live Chat Embed documentation no longer works when applied.

This used to work before, but now it is throwing this on the console:

Refused to display 'https://www.youtube.com/live_chat?v=Lb3_VzuBDHI&embed_domain=<my domain>' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

and the UI just shows:

www.youtube.com refused to connect.

As per the domain, I get the value via window.location.host so I'm pretty sure its correct.

The ID is also correct because whenever I open the same url on a new tab, it shows the chat for that specific stream.

I am also streaming (live) while testing this so the "chat gets destroyed once the live is over) doesn't apply.

Any Ideas? Is this function deprecated?

0 Answers
Related