Onebox doesn't prefer secure_url with HTTPS

(Daniel Marquard) #1

Twitch stream embeds are not loaded when linked to from posts on Discourse installs using HTTPS. It seems like og:video:secure_url is not being preferred over og:video by Onebox, but I think it probably should be, at least on secure websites.

Here’s an example:

^ This is

Twitch Onebox for Discourse
(Jeff Atwood) #2

Sure that makes sense can you fix @techAPJ?

(Daniel Marquard) #3

Thanks, guys. I realized that even if Twitch embeds loaded properly, they’d auto-play in posts. Auto-playing videos annoy the hell out of me, so I wrote a Twitch Onebox plugin to fix both problems.

(Arpit Jalan) #4

Agreed. Fixed via:

(Arpit Jalan) closed #5