How aladdin20/videona works
Videona is a compact desktop video player: users open a supported video from the picker, a command-line argument, or drag-and-drop, then control playback and seek in the native window. The application is concentrated in src/main.rs; the vendored player supplies the video widget and playback backend. README-documented capabilities include keyboard controls, fullscreen, progress and volume displays, and error toasts. The excerpts do not expose all application-to-widget calls, so those links are documented rather than inferred from imports.
Main entry points: main.rs Videona app · backend.rs Player state · widget.rs Player widget
Components 8
Desktop application
- Videona app
src/main.rs
Playback engine
- Player widget
local_deps/egui-sharkplayer/src/widget.rs - Player state
local_deps/egui-sharkplayer/src/backend.rs
Video rendering
- OpenGL frame backend
local_deps/egui-sharkplayer/src/backend.rs - Native video surface
local_deps/egui-sharkplayer/src/widget.rs
Other components
- Viewer
- System file picker
- libmpv
Connections 7
- Viewer → Videona app: opens and controls
README.md - Videona app → System file picker: opens file dialog
src/main.rs - Videona app → Player widget: uses playback UI
README.md - Player widget → Player state: controls and reads
local_deps/egui-sharkplayer/src/widget.rs - Player state → libmpv: loads and controls
local_deps/egui-sharkplayer/src/backend.rs - Player state → OpenGL frame backend: renders frames
local_deps/egui-sharkplayer/src/backend.rs - OpenGL frame backend → Native video surface: provides frame
local_deps/egui-sharkplayer/src/widget.rs