Skip to content

Interface: MediaData ​

Complete data of a media ready to be played via k.medias.playMedia: the source file and its playback settings.

Properties ​

file ​

ts
file: ChannelMediaFileData;

Source media file.


position ​

ts
position: OverlayArea;

Saved horizontal placement with an optional independent portrait rectangle.


timeline ​

ts
timeline: MediaTimeline;

Playback window (start / end).


volume ​

ts
volume: number;

Playback volume, from 0 to 100.