OptionaldataArbitrary key-value data provided on media load. Can be used to store values such as DRM tokens.
OptionaldropWhether the frame rate uses drop-frame counting.
OptionaldurationExplicit media duration in seconds. Overrides the duration reported by the source.
OptionalffomFFOM (First Frame of Media) timecode string used to offset time display.
OptionalfileExplicitly set the file format instead of auto-detecting from the source URL. Takes precedence over mainMediaType for resolving both format and media type.
OptionalforceWhen true, disables all automatic media probing / metadata HTTP requests (file format
detection, HLS init segment time offset, audio channel count/codec, etc.). mainMediaType
and/or fileFormatType must be provided explicitly, or loading fails — anything else that
would normally be probed falls back to a default value instead.
OptionalframeMedia frame rate. Can be a numeric value or a fraction string in the form "numerator/denominator".
OptionalmainExplicitly set the media type instead of auto-detecting from the source URL.
OptionalmediaNumber of degrees by which the video should be rotated (0, 90, 180 or 270)
OptionalposterURL for a poster image displayed before the video starts playing.
Configuration provided when loading a main media source via OmakasePlayerApi.loadMainMedia or PlayerApi.loadMainMedia.