PlaylistSoundData

data. PlaylistSoundData

The data schema for a PlaylistSound embedded document.

Constructor

new PlaylistSoundData(data, documentopt)

See:
  • BasePlaylistSound
Properties:
Name Type Attributes Default Description
_id string

The _id which uniquely identifies this PlaylistSound document

name string

The name of this sound track

path string

The audio file path that is played by this sound

playing boolean <optional>
false

Is this sound currently playing?

repeat boolean <optional>
false

Does this sound loop?

volume number <optional>
0.5

The audio volume of the sound, from 0 to 1

streaming boolean <optional>
false

Does this audio file use the "large file streaming" mode?

flags object <optional>
{}

An object of optional key/value flags

Parameters:
Name Type Attributes Description
data object

Initial data used to construct the data object

document BasePlaylistSound <optional>

The document to which this data object belongs

Extends

  • DocumentData

Methods

_initialize()