Getyarn link causes .mp4 download


(Eric) #1

Similar to

Posting a link to a getyarn.io clip appears to onbox in the preview, but the actual post causes the browser to download a .mp4 file. More annoyingly, this happens any time the post comes into view, since I assume it’s being re-rendered.

It looks like the content type served by getyarn.io is application/mp4 instead of video/mp4, so that may be relevant.

Here’s an example URL, escaped for obvious reasons:

https://getyarn.io/yarn-clip/d371f408-aea1-4508-9d56-c60898827e44

(Glenn Sims) #2

This bugs me too…I’ve always to know how to change a site’s MIME type…happens a lot with my web server (it’s something, no clue if Apache, nginx, JBossWeb, etc)


(Jay Pfaffman) #3

Sounds like a problem with getyarn.io. Have you asked them why they use what you describe as the wrong mime type?


(Jeff Atwood) #4

Anything we can do here @eviltrout?


(Robin Ward) #5

I just tried it on https://try.discourse.org and it worked fine? Is it possible they fixed the MIME type or is this a browser specific issue? I tested on the latest Chrome.


(Jeff Atwood) #6

Here’s the embed from above, let’s see if it works?

https://getyarn.io/yarn-clip/d371f408-aea1-4508-9d56-c60898827e44

To Wong Foo Thanks for Everything, Julie Newmar (1995)
Find clips by quote instantly. GetYarn.io today.

(Eric) #7

Agreed that they must have changed something on their end.

Thanks for looking into it!


(Jeff Atwood) #8

This topic was automatically closed after 4 days. New replies are no longer allowed.