Skip to main content

players

Attribute Macro players 

Source
#[players]
Expand description

Declare the media players owned by the application. Every field is a Player; its name is the stable player_id all entries use.

ⓘ
#[bern::players]
pub struct Players {
    /// Keeps playing across pages and windows.
    pub preview: Player,
}