Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 627 Bytes

File metadata and controls

17 lines (12 loc) · 627 Bytes

Loop

The Loop component provides a simple button that allows the user to toggle the media's loop state in the settings menu. It listens to the player's loop events and updates its visual state accordingly. If the media is a live stream, the component disables itself.

Configuration

Configuration example with defaults:

const playerConfig = {
    loopControl: true
};
Setting Name Type Description
loopControl Boolean Enables or disables loop control capability.