News for hackers. Stuff that matters.
Re:Ask HN: Videos on my website, youtube or selfhosted? by superice on Wednesday December 18, 2013 @03:04PM (#6930233)
That's absolutely awesome. A simple and pretty elegant solution. Your non-javascript fallback is just going to youtube.com?
Re:Ask HN: Videos on my website, youtube or selfhosted? by MattBearman on Thursday December 19, 2013 @04:25AM (#6933643)
Thanks. You are correct, the non-JavaScript fall back is just a link to the video on youtube. As well as being faster than putting the video straight into the page, I also think it looks better this way.

If you're interested, the JavaScript to do this is in this file - http://bugmuncher.com/assets/js/common.js - which reminds me, I really should minify that.