Skip to content

ElectronMediaFlags

Unofficial

Flags describing the state of a media element under the context menu.

Import:

import type { ElectronMediaFlags } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronMediaFlags

Properties

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

Links to this page: