Skip to main content

player_report_state

Function player_report_state 

Source
pub async fn player_report_state(
    player: State<'_, PlayerStateWrapper>,
    state: String,
    media_id: Option<String>,
) -> Result<(), String>
Expand description

Report a webview media element’s state change (playing/paused/loading/stopped/idle).