8 ms·
Even though it sounds fancy and it probably will work fine, something inside me tells me a video player should be native. Or can Chromium really playback video
by lawry 12y ago
Even though it sounds fancy and it probably will work fine, something inside me tells me a video player should be native.
Or can Chromium really playback video files better than vlc/MPlayerX/QuickTime?
- espadrine 12y agoWhat does "native" mean? Chromium has its own video playback code, which this is using: https://github.com/mafintosh/playback/blob/master/index.html#L12 https://github.com/mafintosh/playback/blob/master/index.html... Chromium relies on ffmpeg, which is a fairly efficient library. It even relies on VLC's world-class h264 implementation, http://www.videolan.org/developers/x264.html http://www.videolan.org/developers/x264.html.
- revelation 12y agoI don't get it, so this is a video player app that's built on a browser which then just uses the same thing my actual video player does? I think we can skip a layer here.
- espadrine 12y agoYour actual video player app is built on a UI library that just uses the same thing this video player app does. Sure, you could skip a layer and make your video player talk directly to X11, but it wouldn't be cross-platform. The browser is both an HTTP client and a UI kit, and some people are starting to skip the HTTP client part, and use it as a UI framework, essentially a competitor to Qt or GTK. That includes editors such as Brackets, Light Table or Atom, video viewers such as the infamous Popcorn Time, and games such as Game Dev Tycoon. Picking a UI library is always about finding the right balance between cross-platform, ease of development and memory usage. Kits such as node-webkit and the Atom Shell (used here) give access to one more choice, albeit one which may consume more memory (for now) than many other options.