Skip to content

Interface: MediaCreateOptions ​

Playback options for a media played via k.medias.playMedia.

Remarks ​

All fields are optional; missing values fall back to those carried by the media itself, then to the SDK's default values.

Properties ​

effects? ​

ts
optional effects?: KAudioEffect[];

Audio effects to apply (sounds only).

Default Value ​

[]


position? ​

ts
optional position?: MediaPositionCreate;

On-screen position and size (visual media only).

Default Value ​

fullscreen ({x: 0, y: 0, w: 1920, h: 1080})


timeline? ​

ts
optional timeline?: MediaTimeline;

Playback window (start / end) over the media's duration.


volume? ​

ts
optional volume?: number;

Playback volume, from 0 to 100.

Default Value ​

50