A-Tractor - v2.3.1
    Preparing search index...

    Interface IMediaPlayerListOptions

    Options for the MediaPlayerList.

    interface IMediaPlayerListOptions {
        loop?: boolean;
        single?: boolean;
        viewContainerClass?: string;
        viewContainerTag?: string;
        viewElement?: string | HTMLElement;
        viewItemTag?: string;
        volume?: number;
    }
    Index

    Properties

    loop?: boolean

    TRUE means that when the last track in the list ends, the first track will start playing.

    single?: boolean
    • TRUE means that the only current file will be played.
    • FALSE means that when the current file will be ended the next one will be played.

    By default false.

    viewContainerClass?: string

    CSS selector or HTML element for container class.

    viewContainerTag?: string

    Tag of list container HTML element. By default ul.

    viewElement?: string | HTMLElement

    CSS selector or HTML element to render player content.

    viewItemTag?: string

    Tag of list item HTML element. By default li.

    volume?: number

    Initial common volume for whole files in list. Value should be in range of [0 - 1] (it means: 0 - 100%).