The playback control uses an Avalonia-hosted GPU composition path so video can live inside the normal visual tree.
Traditional embedded native media views often rely on a separate child window. That causes airspace issues:
GpuMediaPlayer avoids that by deriving from OpenGlControlBase and delegating video upload and draw operations to the OpenGL renderer path.
Two upload modes are available:
The demo exposes this toggle so consumers can diagnose GPU-driver behavior without changing code.