AdaptiveVideoControls
Platform-adaptive video controls.
Adaptive controls select the controls implementation at runtime based on the
current Page.platform:
- Android and iOS use Material controls.
- macOS, Windows, and Linux use Material desktop controls.
- Other platforms show no built-in controls.
Use material and material_desktop to configure the controls
family that may be selected for each platform.
Inherits: VideoControls
Properties
material- Controls used when adaptive controls select Material controls.material_desktop- Controls used when adaptive controls select Material desktop controls.
Properties
materialclass-attributeinstance-attribute
material: MaterialVideoControls | None = NoneControls used when adaptive controls select Material controls.
If omitted, Material controls use the default
MaterialVideoControls value.
material_desktopclass-attributeinstance-attribute
material_desktop: MaterialDesktopVideoControls | None = NoneControls used when adaptive controls select Material desktop controls.
If omitted, Material desktop controls use the default
MaterialDesktopVideoControls value.