OptionalautoLets the browser put the video into picture-in-picture on its own, where
the browser offers that: Safari on a tab or app switch
(autoPictureInPicture), Chrome on a tab switch for sites it deems
eligible (the media-session enterpictureinpicture action, which the SDK
registers). Nothing else simulates it: where the browser offers no
auto-enter, PiP starts only from enterPip(). Disarmed during ad breaks.
Explicit only — default false; there is no PiP button in the chrome.
OptionaldashjsThe dash.js module to play DASH items with (import * as dashjs from "dashjs" in a host that bundles its own build). Optional: without it
the SDK uses a dashjs global (ogplayer.dash.global.js or any dash.js
<script>), and the ES module bundles fall back to the engine chunk
they ship, loaded on the first DASH item. Typed unknown so the SDK's
types never depend on dash.js's.
OptionalfallbackWhen the browser blocks autoplay-with-audio (NotAllowedError), retry
muted instead of staying paused. Fires onMutedAutoplayFallback and a
MutedAutoplayFallback analytics event so the UI can offer unmute.
Default false — the standard player shows the big play button instead.
OptionalhlsExtra hls.js configuration merged over the SDK's defaults — buffer targets, ABR knobs, anything hls.js accepts. SDK-managed fields (EME/DRM wiring, text-track rendering) win over conflicting keys.
OptionallicenseLicense subject for packaged apps. A web page binds its license to
location.hostname; a Tizen / webOS app runs from file:// and has
none, so it declares an id instead — e.g. "tizen:ABCDEFGHIJ.MyApp" or
"webos:com.example.player" — which must appear in the license's apps
list exactly. Consulted ONLY for a page without a hostname (a packaged
file:// app): wherever the browser enforces a hostname, that hostname
is the subject and this option is ignored — an id can never stand in for
an origin the key was not issued for. Ignored when unset.
OptionallicenseOffline license key (OGP2.…); without one the watermark shows.
OptionalplatformPlatform defaults layer. "tv" applies the smart-TV hls.js profile
(bounded buffers, worker on, no low-latency mode — see tvHlsProfile)
UNDER hlsConfig, so any single key can still be overridden. Explicit
only: the SDK never infers a TV from the user agent or the page origin.
Default "default" = today's behaviour.
Optionalpreload<video preload> hint, default "auto". "metadata" defers segment
loading until play — the standby setting for pooled players.
OptionalprogressonProgress cadence, default 250ms.
OptionalseekOptionalseekSeek button increments, default 10s each way.
OGPlayer web SDK. A product of Inverse DOO.