OptionalactiveOptionaldeviceOptionalerrorOptionalfullscreenOptionalplaybackOptionalpreviewOptionalstreamOptionaltargetReadonlytheoplayerThe 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-play-button>- A button that toggles whether the player is playing or paused.Attribute
paused(readonly) - Whether the player is paused. Reflectsui.player.paused.Attribute
ended(readonly) - Whether the player is ended. Reflectsui.player.ended.