web-music-score - v6.3.3
    Preparing search index...

    Class Player

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Bind this player to custom HTML element.

      Note (since 6.3.3): bindElement() no longer throws if bind fails, it returns false instead.

      Parameters

      • elem: string | HTMLElement

        HTML element id or element.

      Returns boolean

      • Boolean wheter bind was succesfull.
    • Pause playback of attached document.

      Returns Player

      • This player instance.
    • Playe attached document.

      Returns Player

      • This player instance.
    • Stop playback of attached document.

      Returns Player

      • This player instance.
    • Unbind this player from custom HTML element.

      Note (since 6.3.3): unbindElement() no longer throws if bind fails, it returns false instead.

      Parameters

      • elem: string | HTMLElement

        HTML element id or element.

      Returns boolean

      • Boolean wheter unbind was succesfull.
    • Stop all playing.

      Returns void