@theoplayer/web-ui
    Preparing search index...

    Class PlaybackRateDisplay

    A control that displays the current playback rate of the player.

    <theoplayer-playback-rate-display>

    AttributeDescription

    lang

    The lang property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a BCP 47 language tag. It reflects the element's lang attribute; the xml:lang attribute does not affect this property.

    MDN Reference

    Hierarchy

    Index

    Other

    lang: string

    The lang property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a BCP 47 language tag. It reflects the element's lang attribute; the xml:lang attribute does not affect this property.

    MDN Reference

    playbackRate: number

    The current playback rate.

    rendering

    • Invoked on each update to perform rendering tasks. This method may return any value renderable by lit-html's ChildPart - typically a TemplateResult. Setting properties inside this method will not trigger the element to update.

      Returns HTMLTemplateResult