Skip to main content

duration_seconds

Function duration_seconds 

Source
pub fn duration_seconds(status: &PlayerStatus) -> f32
Expand description

Total duration in seconds. Falls back to 60.0 (matches the PlayerControls component’s own fallback) when not reported.