Static ReadonlyDefaultStatic ReadonlyDefaultStatic ReadonlyDefaultDetach attached music document.
Attach document whose default player will be controlled by these controls.
Optionaldoc: MDocument
Music document.
Set pause button.
HTML button element or element id.
OptionalpauseLabel: string
Custom button label (e.g. "Pause").
Set play button.
HTML button element or element id.
OptionalplayLabel: string
Custom button label (e.g. "Play").
Attach player that will be controlled by these controls.
Optionalplayer: Player
Player.
Setup with play, pause and stop buttons.
Play button can be HTMLButtonElement or button element id.
Pause button can be HTMLButtonElement or button element id.
Stop button can be HTMLButtonElement or button element id.
OptionalplayLabel: string
Play button label (optional: "Play" if omitted).
OptionalpauseLabel: string
Pause button label (optional: "Pause" if omitted).
OptionalstopLabel: string
Stop button label (optional: "Stop" if omitted).
Setup with play and stop buttons.
Play button can be HTMLButtonElement or button element id.
Stop button can be HTMLButtonElement or button element id.
OptionalplayLabel: string
Play button label (optional: "Play" if omitted).
OptionalstopLabel: string
Stop button label (optional: "Stop" if omitted).
Set play/stop button.
HTML button element or element id.
OptionalplayLabel: string
Custom button label for play action (e.g. "Play").
OptionalstopLabel: string
Custom button label for stop action (e.g. "Stop").
Setup with single play button.
Play button can be HTMLButtonElement or button element id.
OptionalplayLabel: string
Play button label (optional: "Play" if omitted).
Setup with single play/stop toggle button.
Play/Stop button can be HTMLButtonElement or button element id.
OptionalplayLabel: string
Play button label (optional: "Play" if omitted).
OptionalstopLabel: string
Stop button label (optional: "Stop" if omitted).
Set stop button.
HTML button element or element id.
OptionalstopLabel: string
Custom button label (e.g. "Stop").
StaticgetGet WmsControls from custom HTML element
Deprecated
MPlaybackButtons is deprecated. Will be removed in future release. Use WmsControls instead.