Reputation: 31
When creating a live broadcast through api I need to insert it in my web page, but when passing the attribute "enableEmbed": true
, I get the following error:
Embed setting was invalid
If I do not pass the embed attribute, it does not allow me to view the stream on my website.
How can I do it through api to see the broadcast on my website?
Upvotes: 3
Views: 1123
Reputation: 541
I had the same problem. I couldn't set enableEmbed to true.
So I opened an issue on: https://issuetracker.google.com/issues/158696654 I received the answer that they tried and they couldn't reproduce the error. So I tried again with another account, my own account, and it worked.
The problem is that account is too new, if you use an old account, you will probably be able to set it true.
To confirm, login in with the account you are using and access the link: https://www.youtube.com/features Confirm that [Embed live streams] is Enabled.
Upvotes: 2