Embedded Youtube Videos: URL always showing "https://youtube.com/devicesupport"

Fixed via:

https://github.com/discourse/discourse/pull/3437

and

https://github.com/discourse/onebox/pull/298


The solution I came up with is to use YouTube oEmbed endpoint instead of v3 API.

This is the only way to fix this issue without depending on v3 API (that requires Google Account credentials).

Also, note that previously oneboxed YouTube videos will have video link instead of title, like

It’s because until now video title was fetched via API (at runtime), but now video title will be saved as HTML at the time of oneboxing.

2 „Gefällt mir“