MediaFlags Type
Constructors
| Constructor |
Description
|
Full Usage:
MediaFlags(inError, isPaused, isMuted, hasAudio, isLooping, isControlsVisible, canToggleControls, canPrint, canSave, canShowPictureInPicture, isShowingPictureInPicture, canRotate, canLoop)
Parameters:
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
|
Full Usage:
this.canLoop
|
Whether the media element can be looped. |
Full Usage:
this.canPrint
|
Whether the media element can be printed. |
Full Usage:
this.canRotate
|
Whether the media element can be rotated. |
Full Usage:
this.canSave
|
Whether or not the media element can be downloaded. |
Full Usage:
this.canShowPictureInPicture
|
Whether the media element can show picture-in-picture. |
Full Usage:
this.canToggleControls
|
Whether the media element's controls are toggleable. |
Full Usage:
this.hasAudio
|
Whether the media element has audio. |
Full Usage:
this.inError
|
Whether the media element has crashed. |
Full Usage:
this.isControlsVisible
|
Whether the media element's controls are visible. |
Full Usage:
this.isLooping
|
Whether the media element is looping. |
Full Usage:
this.isMuted
|
Whether the media element is muted. |
Full Usage:
this.isPaused
|
Whether the media element is paused. |
Full Usage:
this.isShowingPictureInPicture
|
Whether the media element is currently showing picture-in-picture. |
fable-electron-docs-api