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-catalyst-latest';

Signature:

export interface ElectronMediaFlags

Properties

PropertyTypeDescription
canLoopbooleanWhether the media element can be looped.
canPrintbooleanWhether the media element can be printed.
canRotatebooleanWhether the media element can be rotated.
canSavebooleanWhether the media element can be downloaded.
canShowPictureInPicturebooleanWhether the media element can show picture-in-picture.
canToggleControlsbooleanWhether the media element's controls are toggleable.
hasAudiobooleanWhether the media element has audio.
inErrorbooleanWhether the media element has crashed.
isControlsVisiblebooleanWhether the media element's controls are visible.
isLoopingbooleanWhether the media element is looping.
isMutedbooleanWhether the media element is muted.
isPausedbooleanWhether the media element is paused.
isShowingPictureInPicturebooleanWhether the media element is currently showing picture-in-picture.

Links to this page: