Forum 9

Bookkeeping => Bugs and Feature Requests => Completed => Topic started by: lifning on Feb 28, 2025, 12:24 AM

Title: remove the ?origin= from the youtube embed?
Post by: lifning on Feb 28, 2025, 12:24 AM
The iframe URL for the [youtube] tag ends up putting this in the query:
?origin=https%3A%2F%2Ff9.hell-labs.net
(Come to think of it, it might be nice to have a plain [video] tag, so we have the option to rehost stuff somewhere less dystopian)
Title: Re: remove the ?origin= from the youtube embed?
Post by: snow on Feb 28, 2025, 04:04 AM
Huh. Looks like origin parameter is used for the JS iframe API, which we don't use. Not sure why it was added to SMF core like that. Easy enough to mod out, at least.

Quote from: lifning on Feb 28, 2025, 12:24 AM(Come to think of it, it might be nice to have a plain [video] tag, so we have the option to rehost stuff somewhere less dystopian)

Yep, I'm planning on it! I'll be adding both video and audio tags (the latter requested OOB by @semaphore).