..I've never played doom before :P
..I've never played doom before :P
cohost uses a service called iframely to embed links. iframely has a feature that allows websites to have custom html embeds, but it's whitelisted to a specific list of domains. fortunately, *.tumblr.com is on the whitelist and since tumblr lets you put custom html in your blog theme i was able to add the tags to have the link run doom when embedded with iframely.
Wait how did this auto-play audio if it's in an iframe that I didn't click in? Clicking anywhere on the containing page before the iframe loads is somehow enough of a user interaction that Firefox allows playback?????
idk either, i didn't make doom port tho so i'm not sure (it's a modified copy of a build of https://github.com/cloudflare/doom-wasm)
anyway i added a button you need to click before it starts now so that shouldn't be an issue anymore