Add flag for streams that can't be watched on other sites (embed not allowed)
In the streams endpoint, there's no property in the response that indicates if the stream can only be watched on Twitch. This means we embed streams that can't be watched and we obviously don't want this.
The streams api needs to return this information so we know not to render these embeds.
-
@Kaldune For clarification, what occurs in an embed if it cannot be viewed? And do you know why some streams can only be watched on Twitch? I'm curious if this occurs when "Subscriber Streams" is enabled.
-
Kaldune commented
I've only seen this happen once out of 10k+ streams reviewed. So the percentage of streams that can't be embedded on other sites must be very low.
However, when this does happen it causes UX issues for other sites and we'd rather just not show the embed at all.