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

    Interface IMediaPlayerFactoryOptions

    Options for the MediaPlayerFactory.

    interface IMediaPlayerFactoryOptions {
        loop?: boolean;
        single?: boolean;
        volume?: number;
    }
    Index

    Properties

    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.

    volume?: number

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