]> www.vanbest.org Git - motioneye-debian/commit
Add video playback support
authorMrnt <github@maurent.com>
Wed, 7 Mar 2018 19:45:58 +0000 (11:45 -0800)
committerMrnt <github@maurent.com>
Wed, 7 Mar 2018 19:53:53 +0000 (11:53 -0800)
commitfcabde903627c3cc16c5e22d9281a377579f9047
treea67a22fc36eb058f52ff8e89aa80783ab93b8b7f
parent293bde5cda2e544d7f32cc408f38d56b53c217c8
Add video playback support

 - The StaticFileHandler gives us automatic support for mime type and partial file download using the Range request header.
 - Subclass static handler to support video playback and also fo download
 - js changes to preload video and then show video node if video loads
 - progress indicator while video downloading
 - error indicator when video failed to load with error message
 - do not show video on older devices
 - hide video if there is a problem
 - reset width and height properly on every preview load
motioneye/handlers.py
motioneye/mediafiles.py
motioneye/server.py
motioneye/static/css/main.css
motioneye/static/js/main.js