TAudioLoopMode

type
Media

Tri-state loop strategy for OrigamAudio when a playlist is active.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

none
No loop. Playback stops when the last track ends.
all
Loop the whole playlist. After the last track, wrap back to the first one.
one
Loop the current track. The same track restarts at 0 when it ends. Prev/next still navigate the playlist.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Playlist with loop-all mode

html