Skip to content

@videts/vide


@videts/vide / vast / selectMediaFile

Function: selectMediaFile()

selectMediaFile(files): { mimeType: string; url: string; } | null

Defined in: vast/media.ts:2

Select the best media file: prefer mp4, then highest bitrate.

Parameters

files

object[]

Returns

{ mimeType: string; url: string; } | null