OptionalactiveOptionaldeviceOptionalerrorOptionalfullscreenOptionalplaybackOptionalpreviewOptionalstreamOptionaltargetReadonlytheoplayerThe names of the properties this element will receive.
Whether the button is disabled.
When disabled, the button cannot be clicked.
The ID of the menu to open.
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-language-menu-button>- A menu button that opens a LanguageMenu.When there are no alternative audio languages or subtitles, this button automatically hides itself.
Attribute
menu- The ID of the language menu.