Header menu logo fable-electron-docs-api

MediaFlags Type

Constructors

Constructor Description

MediaFlags(inError, isPaused, isMuted, hasAudio, isLooping, isControlsVisible, canToggleControls, canPrint, canSave, canShowPictureInPicture, isShowingPictureInPicture, canRotate, canLoop)

Full Usage: MediaFlags(inError, isPaused, isMuted, hasAudio, isLooping, isControlsVisible, canToggleControls, canPrint, canSave, canShowPictureInPicture, isShowingPictureInPicture, canRotate, canLoop)

Parameters:
    inError : bool - Whether the media element has crashed.
    isPaused : bool - Whether the media element is paused.
    isMuted : bool - Whether the media element is muted.
    hasAudio : bool - Whether the media element has audio.
    isLooping : bool - Whether the media element is looping.
    isControlsVisible : bool - Whether the media element's controls are visible.
    canToggleControls : bool - Whether the media element's controls are toggleable.
    canPrint : bool - Whether the media element can be printed.
    canSave : bool - Whether or not the media element can be downloaded.
    canShowPictureInPicture : bool - Whether the media element can show picture-in-picture.
    isShowingPictureInPicture : bool - Whether the media element is currently showing picture-in-picture.
    canRotate : bool - Whether the media element can be rotated.
    canLoop : bool - Whether the media element can be looped.

Returns: MediaFlags
inError : bool

Whether the media element has crashed.

isPaused : bool

Whether the media element is paused.

isMuted : bool

Whether the media element is muted.

hasAudio : bool

Whether the media element has audio.

isLooping : bool

Whether the media element is looping.

isControlsVisible : bool

Whether the media element's controls are visible.

canToggleControls : bool

Whether the media element's controls are toggleable.

canPrint : bool

Whether the media element can be printed.

canSave : bool

Whether or not the media element can be downloaded.

canShowPictureInPicture : bool

Whether the media element can show picture-in-picture.

isShowingPictureInPicture : bool

Whether the media element is currently showing picture-in-picture.

canRotate : bool

Whether the media element can be rotated.

canLoop : bool

Whether the media element can be looped.

Returns: MediaFlags

Instance members

Instance member Description

this.canLoop

Full Usage: this.canLoop

Whether the media element can be looped.

this.canPrint

Full Usage: this.canPrint

Whether the media element can be printed.

this.canRotate

Full Usage: this.canRotate

Whether the media element can be rotated.

this.canSave

Full Usage: this.canSave

Whether or not the media element can be downloaded.

this.canShowPictureInPicture

Full Usage: this.canShowPictureInPicture

Whether the media element can show picture-in-picture.

this.canToggleControls

Full Usage: this.canToggleControls

Whether the media element's controls are toggleable.

this.hasAudio

Full Usage: this.hasAudio

Whether the media element has audio.

this.inError

Full Usage: this.inError

Whether the media element has crashed.

this.isControlsVisible

Full Usage: this.isControlsVisible

Whether the media element's controls are visible.

this.isLooping

Full Usage: this.isLooping

Whether the media element is looping.

this.isMuted

Full Usage: this.isMuted

Whether the media element is muted.

this.isPaused

Full Usage: this.isPaused

Whether the media element is paused.

this.isShowingPictureInPicture

Full Usage: this.isShowingPictureInPicture

Whether the media element is currently showing picture-in-picture.

Type something to start searching.