I'd like to add support for a video that is synchronized with the track and map display in http://nicetrack.bitplan.com see #66 #907. I have implemented a VideoStream class to make sure that the range header is respected see https://github.com/WolfgangFahl/nicetrack/blob/main/nicetrack/video_stream.py but this might be redundant to the implementation mentioned in #907.
Also I'd love start with a ui.video element with no source specified when starting and changing the source depending on which example is selected. I assume video display is only sensible in local mode and the streaming should be effective. Currently the implementation simply creates a new ui.video which does not show the intended behavior yet. So basically i'd love to know:
- How can the video view be having a different source
- How can the streaming be done from a given starting position and initiated e.g.
immediately to bring down loading time and provide a truly responsive behavior?
As an extra it would be great to have an overlay feature so that the telemetry data of my nicetrack app can be displayed right on the video. This would probably benefit quite a few other video usecases and give nicegui another boost as being a most productive gui framework.
see also https://github.com/zauberzeug/nicegui/discussions/1503