Hacker News new | past | comments | ask | show | jobs | submit login

That video player is amazing! What is it?



Seems to just be a browser-native <video> tag with an overlay that pretty simply controls the quality/time/subtitles. The logic for the controls is at video.js[1] and the logic for the subtitles is at subtitles.js[2] (check the `playSubtitles` function for VTT[3] decoding). All of the sources (the videos for each quality, and the VTT files for each subtitles track) are specified as HTML attributes in vid2.shtml, the linked page.

In short, it was seemingly made in-house.

[1] http://xiph.org/video/video.js

[2] http://xiph.org/video/subtitles.js

[3] http://dev.w3.org/html5/webvtt/




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: