Player components.

Classes

PlayerContentCenterElement

Extends PlayerContentCenterElement_base.

new PlayerContentCenterElement(): PlayerContentCenterElement

Returns PlayerContentCenterElement. Inherited from PlayerContentCenterElement_base.constructor.

PropertyModifierType
acceptsClippublicboolean
connectedpublicboolean
cssBorderBoxSizingstaticCSSResult
cssDivRootstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
defaultContentpublic readonlyOptionalContent
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
signalspublic readonlySignalsRecord
stylesstaticCSSResult

Methods

dropValid(data): boolean

ParameterTypeDescription
dataDataTransfer

Returns boolean. Overrides PlayerContentCenterElement_base.dropValid.

handleDragged(): void

Returns void. Inherited from PlayerContentCenterElement_base.handleDragged.

handleDropped(dataTransfer?, clientX?): void

ParameterType
dataTransfer?Not | DataTransfer
clientX?number

Returns void. Inherited from PlayerContentCenterElement_base.handleDropped.

mashIndex(dataTransfer?, clientX?): undefined | ClipLocation

ParameterType
dataTransfer?Not | DataTransfer
clientX?number

Returns undefined | ClipLocation. Inherited from PlayerContentCenterElement_base.mashIndex.

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from PlayerContentCenterElement_base.templateContent.

unsubscribe(arg, name?, type?): void

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from PlayerContentCenterElement_base.unsubscribe.

PlayerContentElement

Extends ContentElementBase.

new PlayerContentElement(): PlayerContentElement

Returns PlayerContentElement. Inherited from ContentElementBase.constructor.

PropertyModifierType
chromeCssstaticCSSResult
connectedpublicboolean
contentCssstaticCSSResult
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
cssSharedstaticCSSResult
defaultContentpublic readonlyOptionalContent
exportPartspublicundefined | string
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
partspublicstring
partSeparatorstaticstring
signalspublic readonlySignalsRecord
stylesstaticCSSResult

Methods

partContent(part, slots): OptionalContent

ParameterTypeDescription
partstring
slotsElement[]

Returns OptionalContent. Inherited from ContentElementBase.partContent.

refreshParts(): string

Returns string. Inherited from ContentElementBase.refreshParts.

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from ContentElementBase.templateContent.

unsubscribe(arg, name?, type?): void

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from ContentElementBase.unsubscribe.

PlayerElement

Extends PanelElementBase.

new PlayerElement(): PlayerElement

Returns PlayerElement. Inherited from PanelElementBase.constructor.

PropertyModifierType
connectedpublicboolean
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
defaultContentpublic readonlyOptionalContent
exportPartspublicundefined | string
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
partspublicstring
partSeparatorstaticstring
signalspublic readonlySignalsRecord
stylesstaticCSSResult

Methods

contentContent(slots): OptionalContent

ParameterTypeDescription
slotsElement[]

Returns OptionalContent. Inherited from PanelElementBase.contentContent.

footerContent(slots): OptionalContent

ParameterTypeDescription
slotsElement[]

Returns OptionalContent. Inherited from PanelElementBase.footerContent.

headerContent(slots): OptionalContent

ParameterTypeDescription
slotsElement[]

Returns OptionalContent. Inherited from PanelElementBase.headerContent.

partContent(part, slots): OptionalContent

ParameterTypeDescription
partstring
slotsElement[]

Returns OptionalContent. Inherited from PanelElementBase.partContent.

refreshParts(): string

Returns string. Inherited from PanelElementBase.refreshParts.

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from PanelElementBase.templateContent.

unsubscribe(arg, name?, type?): void

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from PanelElementBase.unsubscribe.

static instance(element): PlayerElement

ParameterTypeDescription
elementundefined | PlayerElement

Returns PlayerElement.

PlayerFooterElement

Extends FooterElementBase.

new PlayerFooterElement(): PlayerFooterElement

Returns PlayerFooterElement. Inherited from FooterElementBase.constructor.

PropertyModifierType
chromeCssstaticCSSResult
connectedpublicboolean
contentCssstaticCSSResult
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
cssSharedstaticCSSResult
defaultContentpublic readonlyOptionalContent
exportPartspublicundefined | string
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
partspublicstring
partSeparatorstaticstring
signalspublic readonlySignalsRecord
stylesstaticCSSResult

Methods

partContent(part, slots): OptionalContent

ParameterTypeDescription
partstring
slotsElement[]

Returns OptionalContent. Inherited from FooterElementBase.partContent.

refreshParts(): string

Returns string. Inherited from FooterElementBase.refreshParts.

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from FooterElementBase.templateContent.

unsubscribe(arg, name?, type?): void

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from FooterElementBase.unsubscribe.

PlayerHeaderElement

Extends HeaderElementBase.

new PlayerHeaderElement(): PlayerHeaderElement

Returns PlayerHeaderElement. Inherited from HeaderElementBase.constructor.

PropertyModifierType
chromeCssstaticCSSResult
connectedpublicboolean
contentCssstaticCSSResult
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
cssSharedstaticCSSResult
defaultContentpublic readonlyOptionalContent
exportPartspublicundefined | string
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
partspublicstring
partSeparatorstaticstring
signalspublic readonlySignalsRecord
stylesstaticCSSResult

Methods

partContent(part, slots): OptionalContent

ParameterTypeDescription
partstring
slotsElement[]

Returns OptionalContent. Inherited from HeaderElementBase.partContent.

refreshParts(): string

Returns string. Inherited from HeaderElementBase.refreshParts.

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from HeaderElementBase.templateContent.

unsubscribe(arg, name?, type?): void

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from HeaderElementBase.unsubscribe.

PlayerRangeElement

Extends ElementBase.

new PlayerRangeElement(): PlayerRangeElement

Returns PlayerRangeElement. Inherited from ElementBase.constructor.

PropertyModifierType
connectedpublicboolean
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
defaultContentpublic readonlyOptionalContent
framepublicnumber
framespublicnumber
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
signalspublic readonlySignalsRecord
stylesstaticCSSResult

Methods

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from ElementBase.templateContent.

unsubscribe(arg, name?, type?): void

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from ElementBase.unsubscribe.

PlayerTimeElement

Extends ElementBase.

new PlayerTimeElement(): PlayerTimeElement

Returns PlayerTimeElement. Inherited from ElementBase.constructor.

PropertyModifierType
connectedpublicboolean
cssBorderBoxSizingstaticCSSResult
cssHostDroppingstaticCSSResult
cssHostFlexstaticCSSResult
defaultContentpublic readonlyOptionalContent
framepublicnumber
framespublicnumber
masherpublic readonlyMasher
masherOrNotpublicundefined | Masher
signalspublic readonlySignalsRecord
stylesstaticCSSResult

Methods

templateContent(contents): TemplateContent

ParameterTypeDescription
contentsTemplateContents

Returns TemplateContent. Inherited from ElementBase.templateContent.

unsubscribe(arg, name?, type?): void

ParameterTypeDescription
argstring | PropertyObject
name?string
type?string

Returns void. Inherited from ElementBase.unsubscribe.

Variables

PlayerContentCenterTag

const PlayerContentCenterTag: "media-masher-player-content-center"

PlayerContentTag

const PlayerContentTag: "media-masher-player-content"

PlayerFooterTag

const PlayerFooterTag: "media-masher-player-footer"

PlayerHeaderTag

const PlayerHeaderTag: "media-masher-player-header"

PlayerRangeTag

const PlayerRangeTag: "media-masher-player-range"

PlayerTag

const PlayerTag: "media-masher-player"

PlayerTimeTag

const PlayerTimeTag: "media-masher-player-time"

Functions

masherPlayerElementPlug

masherPlayerElementPlug(element): Promise<DataOrError<Element>>

ParameterType
elementundefined | PlayerElement

Returns Promise<DataOrError<Element>>.