You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.
As of now, the only way to embed a YouTube stream is using the actual video URL. If possible, being able to use the /live link, (https://youtube.com/user/destiny/live, where destiny can be replaced with the a channel URL) would make embedding YouTube links about as easy as embedding Twitch links.
A couple immediate problems with this:
This would only be useful for channels with custom YouTube URLs, as default channel URLs are actually longer than video links.
There are a couple edge cases in which a channel has multiple streams running, where the latest stream appears on the /live page
(!) There are 3 types of URLs, /channel/ default long URLs, /user/ legacy custom URLs, /c/ new format for custom URLs, typing youtube.com/[person] will prioritize /user/ links, which can cause problems when 2 channels use the same URL (ex: https://youtube.com/chilledcow points to a /user/ channel with 90 subs while https://youtube.com/c/chilledcow/ brings you to a 6M subscriber channel)
The text was updated successfully, but these errors were encountered:
Is a custom persistent broadcast URL embeddable? I did some research and it seems the best we can do is https://www.youtube.com/embed/live_stream?channel=<channel_id>. This means we'd have to resolve usernames to channel IDs to make this work, which is a nontrivial problem. The Search API can't be used because of the extreme quota cost. I wonder if this user is correct when they say that the forUsername filter only works for legacy username URLs.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As of now, the only way to embed a YouTube stream is using the actual video URL. If possible, being able to use the /live link, (https://youtube.com/user/destiny/live, where destiny can be replaced with the a channel URL) would make embedding YouTube links about as easy as embedding Twitch links.
A couple immediate problems with this:
/channel/
default long URLs,/user/
legacy custom URLs,/c/
new format for custom URLs, typing youtube.com/[person] will prioritize/user/
links, which can cause problems when 2 channels use the same URL (ex: https://youtube.com/chilledcow points to a/user/
channel with 90 subs while https://youtube.com/c/chilledcow/ brings you to a 6M subscriber channel)The text was updated successfully, but these errors were encountered: