OptionalactiveOptionaldeviceOptionalerrorOptionalfullscreenOptionalplaybackOptionalpreviewOptionaltargetReadonlytheoplayerThe names of the properties this element will receive.
Whether the button is disabled.
When disabled, the button cannot be clicked.
StaticobservedProtected Readonly_onProtected Readonly_onProtected_upgradeProtectedhandleHandle a button click.
By default, this does nothing. Subclasses can override this method to add behavior to the button.
<theoplayer-live-button>- A button that shows whether the player is currently playing at the live point, and seeks to the live point when clicked.Attribute
live-threshold- The maximum distance (in seconds) from the live point that the player's current time can be for it to still be considered "at the live point". If unset, defaults to 10 seconds.Attribute
live(readonly) - Whether the player is considered to be playing at the live point.