Ask HN: Videos on my website, youtube or selfhosted?
Hey guys, I'm having quite a dilemma right now. Recently I made a video showing a piece of software from my startup. I put it up on youtube and embedded the link from the front page of the website. But it is slow. Really slow. The video alone increases page render time by over 2 seconds. Besides, I'm not in control of what ads or suggestions youtube shows after the video. Is it worth it to convert and encode the video to HTML5 formats and a flash fallback myself? Is that too much work and should I just accept the problems I'm having right now? What would you do? Any advice on this? Hosting space or bandwidth isn't quite an issue (yet).
21 comments
[ 4.2 ms ] story [ 50.7 ms ] threadI would love for someone to chime in here on what options to consider for self-hosting video at low-cost/high-scale.
Which means, someone has already thought of this and is trying to provide this service. So 'superice' you want to see what's out there and report back?
Seems like a great idea for a startup indeed: submit your video and in a few minutes, you get an e-mail with a link pointing to a zip with an example html file, 3 different HTML5 supported video formats and a flv file.
https://blog.mediacru.sh/2013/12/23/The-right-way-to-encode-...
Their code is open-source now all we need is a Docker image for it :-)
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.
Video streaming is a major pain point that should be outsourced if possible.
You may, however, want to investigate one of the other video hosting options out there who focus on business use. I've had some conversations with Wistia recently, and whilst they're wildly inappropriate for my use case, in general they seem quite impressive. Other options I'm aware of include Brightcove or hosting your video with a CDN.