Static ReadonlyDefaultStatic ReadonlyDefaultStatic ReadonlyDefaultDetach attached music document.
Attach document whose default player will be controlled by these controls.
Optionaldoc: MDocument
Music document.
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).
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).
StaticgetGet WmsControls from custom HTML element
Create new playback buttons helper class instance.