OptionaladUrlParams?: AdUrlParamsObject to pass additional ad url request parameters
Default: null
Example:
"adUrlParams": {
"param1": 123,
"param2": "abc"
}
Optionaladvertisement?: AdvertisementPropsenabled: configures the player if ads should be rendered
client: Chooses the ad client that will be used to display advertisements.
skipEnabled: Configures the player if skip button should be shown on ads.
pauseEnabled: Configures the player if pause button should be shown on ads.
countdownTextEnabled: Configures the player if countdown text should be shown on ads.
antiadblock: Enable player showing advertisement with adblock
prerolls: Load an ad schedule from an external VAST src.
invideos: Load an ad schedule from an external VAST src.
postrolls: Load an ad schedule from an external VAST src.
ssaiSdks: Object : To pass NOWTILUS SDKs for dash/hls/html5 SDKs
Example:
advertisement: {
"enabled": true,
"client": "ima",
"useNativeControls": false,
"prerolls": [
{"id":"preroll1",
"url":"//adserver.adtech.de/?adrawdata/3.0/1692.1/5920371/0/16......."
}
],
"invideos":[
{"id":"invideopresenter","time":12,"loop":false,"url":"//adserv/..."},
{"id":"midroll","time":45,"loop":false,"url":"http://webat3.laola1.at/de..."},
{"id":"invideo2","time":100,"loop":false,"url":"//adserv\..."}
],
"postrolls":[
{"id":"postroll","url":"//adserver.adtech.de/?adrawdata/3.0/1692.1/5920371\.."}
],
"ssaiSdks": {
"dash": "https://cdn.nowtilus.com/4.0.1/nowtilus-sdk-dash.min.js",
"hls": "https://cdn.nowtilus.com/4.0.1/nowtilus-sdk-hls.min.js",
"html5": "https://cdn.nowtilus.com/4.0.1/nowtilus-sdk-html5.min.js"
},
}
OptionalallowDVR?: booleanTells the player if DVR timeline should be shown
Default: false
Example: true/false
OptionalallowFullScreen?: booleanTo enable the end user to disable showing fullscreen icon
OptionalalwaysStartAdsMuted?: booleanWhen enabled, do not start the prerolls with sound
Optionalanalytics?: any[]OptionalanalyticsConsentPrivacy?: AnalyticsConsentPrivacyPropsOTT privacy settings applied when checkForAnalyticsConsent is true (non-theme-1). Selects accepted vs declined block from window.utag consent categories. Set executeNpawIfDeclined to false to skip Youbora entirely when the user opted out. If omitted and checkForAnalyticsConsent is true, default behavior is to skip Youbora when the user has declined analytics. Legacy analytics[].obfuscateIp is ignored for non-theme-1 clients.
Optionalannotations?: AnnotationsOptionalaspectratio?: stringMaintains proportions when width is in absolute pixel - width is mandatory
Default: "auto" (sizes from main video after metadata; 16:9 box until then)
Example: "16:9", "9:16", or other "a:b" to lock the player box ratio
Optionalautoplay?: booleanConfigures if the player should automatically start playback
Default: true
Example: true/false
OptionalbackgroundImage?: stringTo display a background image behind the playing video
Example: "https://images.laola1.tv/872469_640x360.jpg"
OptionalbufferTime?: numberDesired buffer time for the player
Default: null
Example: 4
Optionalcaptions?: CaptionsPropsOptionalcasting?: CastingPropsTo enable casting via chromecast or airplay
chromecast: Set chromecast
airplay: Set airplay
OptionalcheckForAnalyticsConsent?: booleanTo enable checking window.utag for consent check for analytics
OptionalconfigUrl?: stringAll the config elements can also be passed to player from a file.
URL to external config file
Default: "",
Example: "videoConfig.json"
OptionalconfigUrlData?: stringAdds additional parameters to config URL
OptionalcontrolBarHideDelay?: numberTo specify number of seconds to wait before control bar should be hidden
OptionalcorrelatedUrl?: stringPath to the list of correlated streams
Default: ""
OptionalcustomUserMessages?: anyURL to a single video file, audio file, or live stream to play.
Default: {}
Example:
{
error001: "Stream ID or Partner ID not set",
error100: "Config file could not be loaded",
error200: "Streamaccess API not loaded",
error300: "Streamdata file could not be loaded",
error400: "Feed for multiple livestreams not available",
error500: "Heartbeatkey file could not be loaded",
error501: "Please login, to watch this Video",
error502: "Heartbeat file could not be loaded",
error503: "Please login, to watch this Video",
error600: "NO SUPPORTED HANDLER FORMATS FOR THE GIVEN URL AND MIME-TYPE",
error900: "File crossdomain.xml is not found from the server domain",
error902: "Cannot create media element with given URL and mimetype",
error903: "The SMIL file is empty or not in the correct format",
error904: "SWF file is missing",
error905: "Please activate Flash in your browser",
spoilerAlert: "Do you really want to see the key-moments of the game in your timeline?",
ok : "Ok",
cancel: "Cancel",
streamEnded: "Stream has ended"
}
Optionaldescription?: stringShort text about the event/stream
OptionaldesiredEndTime?: numberSpecify time in seconds when the video must end
Default: -1
Example: 50
OptionaldesiredLiveReplayDateTime?: stringSpecify time in date-time format at which part live video must start replay from
Default: ""
Example: "2010-02-19T14:54:23.031+08:00"
OptionaldesiredStartDateTime?: stringSpecify time in date-time format at which part the video must start
Default: ""
Example: "2010-02-19T14:54:23.031+08:00"
OptionaldesiredStartTime?: numberSpecify time in seconds when the video must start (in seconds)
Default: 0
Example: 50
OptionaldistributionType?: stringTells the player what kind of stream it is - live or vod
Default: null
Example: live/vod
OptionaldownloadVideo?: DownloadVideoPropsTo enable downloading of the video.
When handledByPage is true, the player shows the download icon and emits a click event
but does not open a URL (even if url is present or a stream is playing).
Default:
{
enabled: false,
url: "",
handledByPage: false
}
Example (player-handled):
{
enabled: true,
handledByPage: false,
url: "https://example.com/video.mp4"
}
Example (page-handled / OTT):
{
enabled: true,
handledByPage: true
}
OptionaldownloadWhilePaused?: booleanTo enable/disable downloading of segments when player is paused
OptionaldrmData?: DrmDataPropsTo activate DRM based stream playback
enabled: Boolean value specifying if DRM should be enabled
proxyEnabled: Boolean value specifying if DRM proxy is enabled(used by OTT for BuyDRM) - optional
streamKeeperEnabled: Boolean value specifying
if streamKeeper urls should be used or not(used by TK for Verimatrix) - optional
provider: String : Specifying provider for DRM, example: "verimatrix"
licenseType: Object : Specifying type of license, and the url
Example:
drmData: {
enabled: true,
proxyEnabled: false,
streamKeeperEnabled: false,
provider: "verimatrix",
licenseType: {
widevine: {
licenseAcquisitionUrl: "https://widevinetest.....",
licenseAcquisitionUrlStreamKeeper: "https://...",
certificate: ""
},
playready: {
licenseAcquisitionUrl: "https://playreadytest......",
licenseAcquisitionUrlStreamKeeper: "https://...",
certificate: ""
},
fairplay: {
licenseAcquisitionUrl: "https://fairplaytest..",
licenseAcquisitionUrlStreamKeeper: "https://...",
certificate: "https://certTest.."
}
}
}
Optionalembet?: EmbetPropsTo activate Embet experience
enabled: Boolean value specifying if Embet should be enabled
clientId: String : client ID in the promethean setup
enableSync: Boolean value specifying if spoiler-free overlays should be enabled
programId: ID of the event set up in Embet producer backend
customId: Custom ID to be passed to Embet tag
version: Version of embet sdk to be loaded
segmentation: User profile data passed to embetSDK upon init
betPlacement: Bet placement configuration
resizeConfig: Resize configuration
Example:
"embet": {
"enabled": true,
"clientId": "5c6d7d80a0xxxxxxx1",
"enableSync": true,
"programId": "xx-yyy-zzz",
"customId": "xxyyzz",
"version": "1.0.0",
"segmentation": {
country: "US",
lang: "EN",
age: "28"
},
"betSlipConfig": {
onPlaceBet: (payload: any) => {
console.log("Bet placed with following payload: ", payload);
return {
success: true,
};
},
currency: "€",
currencyDisplay: "prefix",
decimalDelimiter: ",",
maxAmount: 10000,},
"resizeConfig": {
element: null,
enabled: true
}
}
OptionalenableAudioMeters?: booleanShow audio level meter on main video (QA / debug). Default: false
OptionalenableCmcd?: booleanTo enable sending CMCD to CDN
OptionalenableCountdown?: booleanTo disable or enable showing live countdown
Default: true
OptionalenableEmbeddedCC?: booleanOptionalenableKeyboardShortcuts?: booleanTo enable user to disable keyboard shortcuts on player
Default: true
OptionalenableMultiLanguage?: booleanTo enabled switching between multiple audio tracks*
Default: false
OptionalenableOTTStats?: booleanTo enable showing OTT stats icon on controls section
OptionalenableOTTTwitter?: booleanTo enable showing twitter icon on controls section
OptionalenablePip?: booleanTo enable PiP in Chrome
OptionalenablePlaybackRate?: booleanTo enable switching of playback rates
Default: false
OptionalenablePlayOrPauseButton?: booleanTo specify play/pause button must be shown or video must be paused/played on click
Default: true
OptionalenableProgressBar?: booleanTo specify if progress bar must be shown in UI or not
Default: true
OptionalenableReplay?: booleanTo specify if replay button must be shown
Default: false
OptionalenableSeekBehind?: booleanTo specify if seeking behind button must be shown
Default: true
OptionalenableSeekForward?: booleanTo specify if seeking forward button must be shown
Default: true
OptionalenableSubtitlesTinyState?: booleanTo show CC/subtitles on tiny state of the player
OptionalenableTime?: booleanTo specify if the text :
OptionalenableUI?: booleanTo disable or enable showing UI
Default: true
Optionalendscreen?: EndscreenPropsTo specify related videos and end of stream options
countdownTime: 0-xx seconds (Default: 10)
templates:
0 - Default (show blank screen + replay - keep last frame of stream)
1 - Show replay + countdown to next video + next 1 to 4 related video
2 - Show next video + countdown
3 - Telekom Endscreen
For live streams, only "Stream has ended" template
Example:
"endscreen": {
"enabled": true,
"template": 1,
"countdown": false,
"countdownTime": 10,
"related": [
{
"id":994607,
"title":"\u00d6FB-Kapit\u00e4n steht hinter Ruttensteiner",
"startDate":"2017-10-05T14:05:00+02:00",
"image":"https://images.laola1.tv/994607_240x135.jpg",
"link":"/de-at/video/fb-kapitaen-steht-hinter-ruttensteiner",
"target":"_self",
"showTeamLogos": true/false // Only used by Telekom
},
{
"id":994797,
"title":"Neymar/Cavani/Mbappe: Die Tore des Top-Trios",
"startDate":"2017-10-05T14:00:00+02:00",
"image":"https://images.laola1.tv/994797_240x135.jpg",
"link":"/de-at/video/neymar-cavani-mbappe-t...tember",
"target":"_self"
},
{
"id":994626,
"title":"Piqu\u00e9 ist "stolz" in Spanien - trotz Pfiffen",
"startDate":"2017-10-05T13:00:00+02:00",
"image":"https://images.laola1.tv/994626_240x135.jpg",
"link":"/de-at/video/gerard-pique-fc-barcelona-spa...ationalteam",
"target":"_self"
},
{
"id":993502,
"title":"Sampaoli: Das denkt Dybala \u00fcber Messi",
"startDate":"2017-10-05T09:25:00+02:00",
"image":"https://images.laola1.tv/993502_240x135.jpg",
"link":"/de-at/video/sampaoli-dybala-messi-argentinien-superstar",
"target":"_self"
},
{
"id":993451,
"title":"Ronaldo: "Habe fast jeden Tag geweint"",
"startDate":"2017-10-05T09:20:00+02:00",
"image":"https://images.laola1.tv/993451_240x135.jpg",
"link":"/de-at/video/cristiano-ronaldo-real-ma...-tag-geweint",
"target":"_self"
}
]
}
OptionalerrorImages?: ErrorImagesPropsAllow users to set an image overlay to be shown when player is in error
generic: String : Path to image for general errors
geoblock: String: Path to image for geoblock specific errors
Example:
"errorImages": {
generic: "https://pathtoimg",
geoblock: "https://pathtogeoblockimg"
}
Optionalgroup?: stringTo indicate a group to which the player belongs.
This is useful if multiple players are in the same page
Used within player to store the volume of the player in the local storage
Default: "avvpl"
Example: "virtual"
Optionalhandlers?: string[]Specify which handler is preferred to be used for the stream in which order.
Default handlers: html5, hls, rtc, flash, dash
Example: ["hls", "dash"]
Optionalheartbeat?: HeartbeatPropsEnabled: Tells the player if the is enabled
url: Checks if user is allowed to watch the stream
time: Request frequency in seconds
method: Request Method. It is either GET or POST
initializeUrl: Provides ticket for heartbeat
additionalRandomTimeRange: Add value between 0 and randomTimeRange to time
cancelUrl: Stops actively the session to support the "first one wins strategy"
ignoreServiceUnavailableErrors To ignore service
unavailability errors when set to true
params: Object that contains the media id
Example:
heartbeat: {
"enabled": true,
"url": "heartbeat.json?ticket={{Ticket}}",
"time": 120, // Default is 60
"method": "POST" // Default is "GET",
"initializeUrl?": "init.json" // Contains status and ticket info
"additionalRandomTimeRange": null,
"cancelUrl": "./cancel.json"
"params": {
"media": 140593 //videoID
},
"ignoreServiceUnavailableErrors": false
}
OptionalheartbeatTicket?: stringTicket provided by user for heartbeat
Example: "3e861dd4-cdad-41f2-91f8-a60dbe2be675",
OptionalhtmlOverlay?: HTMLOverlayPropsTo inject an external HTML in the player
Default:
htmlOverlay: {
enabled: false,
html: "",
styles: "",
pathToHtml: "",
pathToStyles: ""
}
Example:
htmlOverlay: {
enabled: true,
pathToHtml: "/.html",
pathToStyles: "/.css",
html: "Hi
",
styles: "p {color: #121212}"
}
OptionalidentityOverlay?: IdentityOverlayPropsEnables showing an overlay with user id on playerUI
id -> If enabled, and not specified, it uses value from bitmovin analytics id
randomize -> If enabled, then it uses the interval value
(e.g 300 : Show overlay for 5min, and hide for 5min)
position -> If randomize is false, then position is one of TR/TL/BL/BR.
Otherwise, any random position is chosen by player
Default:
identityOverlay: {
enabled: false,
id: null,
randomize: false,
interval: null,
position: null
}
Example:
identityOverlay: {
enabled: true,
id: "xyz",
randomize: false,
interval: 3000,
position: TR
}
OptionalignoreAspectratio?: booleanIgnores aspectratio for calculating the height
Default: false
OptionalignoreVolumeStorage?: booleanWhen enabled, do not store the volume changed by user on local or session storage Default: false
Optionalimage?: stringURL to a poster image to display before playback starts
Default: ""
Example: "posterImage.jpg"
OptionalisDelivered?: booleanTo indicate if stream is delivered or not
Default: false
Example: true
OptionalisLive?: booleanOptionalisLivestream?: booleanTell the player if the stream to be played back is a livestream
Default: false
Example: true/false
Optionallanguage?: "en" | "de"User preferred language for showing error messages, etc. on player
Default: "en"
Example: "de" (Only English and Deutsch is supported now)
OptionallinkToUrl?: string Link to url for errormessages
OptionalloadWithChromecastOverlay?: booleanShow Chromecast Overlay from beginning
Default: false
Optionalloglevel?: numberLog level for dispalying messages on console
Default: 0
Example: 0- off, 1- errors only, 2- warnings+error, 3- debuginfo+warnings+error
Optionalloop?: booleanAutomatically restart the stream when it ends (VOD only)
Default: false
Optionalmerchandising?: MerchandisingProps[]Allow ability to sell goods via player UI
icon: String : Path to image
url: String: specifying link to open when clicked
tooltip: String describing the icon
Example:
"merchandising": [
{
enabled: true/false,
icon: "https://pathtosvg",
url: "https://www.abc.com?campaign=xxx",
tooltip: "",
key: "xyz"
}
]
OptionalmultipleLanguages?: MultipleLang[]To specify which multiple Languages should be used (BVB FEATURE)
OptionalmultipleLanguagesJS?: stringName of function that will be called for switching languages (BVB Feature)
Optionalmultiview?: MultiviewPropsTo enable multiview feature
enabled: Boolean value specifying if multiview feature should be enabled
url: Link to external config containing streams to be added
metadataUrl: Link to external config containing metadata for streams that may be included in multiview
streams: Specify the streams to be loaded in case of no external config
Example:
"multiview": {
"enabled": true,
"enableSelectAll": false,
"url": "./configs/streams.json",
"metadataUrl": "./configs/metaData.json",
"streams": [
{"streamUrl": "https://l1tvintegration-lh.akamaihd.net/i/bvbu....."},
{"streamUrl": "https://l1tvintegration-lh.akamaihd.net/i/bvbun.....}
]
}
Optionalmute?: booleanConfigures if the player should be muted during playback
(takes precedence over volume specified)
Default: false
Example: true/false
OptionalnewsTicker?: stringTo specify options for newsticker in a JSON file
Default values used:
{
"update": "",
"updateTime": 20,
"enabled": true,
"direction": "left",
"speed": 1,
"backgroundColor": "#000000",
"textColor": "#FFFFFF",
"seperatorImage": "",
"logo": {
"text": "",
"image": "",
"backgroundColor": "#000000",
"textColor": "",
"url": ""
},
"messages": [
{
"title": "",
"text": "",
"image": "",
"url": ""
}
]
}
Optionalpartnerid?: numberUnique customer ID you received during setup process
Default: 0
Example: 22
OptionalpingSeconds?: numberTo specify the interval in which "userstreaming" event needs to be triggered from player
Default: 30
Example: any valid number > 0
Licence key to enable playback on SR video player - Mandatory config
Default: ""
Example: "dbYbdxu2bc79slckhfddld"
OptionalposterTitleEnabled?: booleanShow title on poster , for example, on autoplay overlay
Default: false
Example: true/false
OptionalprotectHeight?: booleanTo specify if height of the player must be protected.
Default: false
Optionalquality?: QualityPropsPass custom labels for quality
startIndex: Sets the starting quality from manifest
labels: Label of the media source, displayed in the manual quality selection menu.
maxBitrate: Sets the maximum bitrate player takes from manifest.
Example:
quality : {
"enabled": true,
"startIndex": 1,
"maxBitrate": 1620,
"labels": [
{"label":"LOW","bitrate":350},
{"label":"MID","bitrate":600},
{"label":"REG","bitrate":1050},
{"label":"HIGH","bitrate":1700},
{"label":"HD","bitrate":2500},
{"label":"FullHD","bitrate":5000}
]
}
OptionalseekButtonSeconds?: numberTo specify how many seconds player must move forward or back
Default: 10
OptionalsetLoadingBlackscreen?: booleanIf set to true, no playerelements will be shown
before player is completely loaded
Default: false
Example: true
Optionalshare?: SharePropsenabled: Configures the player if the social share button should be visible in UI
url: URL to external reference
pages: Default: ["facebook", "x", "whatsapp", "mail" ]
Example:
"share": {
"enabled": true,
"url": "https://www.laola1.tv/de-at/video/wie-wird-koller-arnautovic-ersetzen",
"pages": ["facebook", "x"]
}
OptionalshowAugStreamingIcon?: booleanTo show a button for switching between an augmented video stream and a reqular/non-augmented one
OptionalshowBackButton?: booleanTo show a Back button on UI
OptionalshowDebugInfo?: booleanOptionalshowExtendedTitle?: booleanTells the player to show competition and date in title too
OptionalshowLiveIndicator?: booleanTo show an indicator for live edge status on UI
OptionalshowMoreVideos?: booleanTo show a More button on UI
Optionalskin?: SkinPropsTo enable the end user to choose between available themes and colors
Example:
skin: {
theme: 0,
customLayout: {
above: ["controlBar"],
controlsLeft:
["rewind", "play", "fastforward", "volume",
"liveIndicator", "currentTime", "separator", "duration"],
controlsRight:
["theaterMode", "ottStats", "ottTwitter", "hd", "subtitle",
"download", "timeline", "airplay", "multiAudio", "settings",
"pip", "selectAll", "multiview", "merchandising",
"chromecast", "fullscreen"],
controlsCenter: ["correlatedArrow"],
below: [""],
controlsTopLeft: [],
controlsTopRight: ["share"]
},
colors: {
background: "#000000",
label: "#FFFFFF",
labelActive: "#FF0000",
iconButtonPrimary: "#FFFFFF",
iconButtonHover: "#FF0000",
toggleButtonPrimary: "#FFFFFF",
toggleButtonActive: "#FF0000",
toggleButtonText: "#000000",
toggleButtonTextActive: "#FFFFFF",
tooltipBackground: "rgba(0, 0, 0, 0.5)",
tooltipBorder: "none",
slider: "#FF0000",
sliderDvr: "#FFFFFF",
sliderSeekbarBuffer: "#B5B7B2",
sliderBackground: "#444444"
}
loadingSpinner: {
enabled: true,
spinner: {
"path": "assets/gif/spinner.gif",
"version: "20250625124557",
"frontendRelativeUrl": "assets/gif/spinner.gif",
"fullUrl": "https://example.com/assets/gif/spinner.gif"
}
}
OptionalsrPixelTracking?: SRPixelTrackingPropsAllow users to send SR tracking pixel
pixelId: String : Unique pixel ID used for this purpose
clientId: String: Unique client ID
Example:
"srPixelTracking": {
pixelId: "xx",
clientId: "yy"
}
OptionalstoreLocalStorageVolume?: booleanSpecify if local storage volume should be stored and used
Default: false
Example: true / false
OptionalstreamAccess?: stringAPI interface to streamURL
Default: ""
Example: "https://club.laol.........&partner=22&label=l1tv&area=test&format=iphone"
OptionalstreamAccessDash?: stringAPI interface to dash streamURL
Default: ""
Example: "https://www.eurovolley.tv/api/v2/content/521404/access"
OptionalstreamForDvr?: StreamForDvrPropsTo load stream in DVR when progress bar is clicked on live stream
streamUrl: String : Stream URL to be loaded for DVR
dvrLength: Number: Expected DVR length of the stream
Example:
"streamForDvr": {
streamUrl: "https://streamUrl",
dvrLength: 300
}
OptionalstreamUrl?: stringURL to a single video file, audio file, or live stream to play, (OR)
An object containing multiple sources single video / audio /live stream to play
Default: ""
Example: "video.mp4" (OR)
Example:
"streamUrl": {
"hls": "video.m3u8",
"dash": "video.mpd"
}
OptionalstreamUrlParams?: StreamUrlParamsObject to pass additional streamURL parameters
Default: null
Example:
"streamUrlParams": {
"param1": 123,
"param2": "abc"
}
Optionalthumbnails?: ThumbnailsTo enable thumbnails feature
enabled: Boolean value specifying if thumbnails feature should be enabled
url: Link to external config containing images.
Either pass a string or an array with multiple urls
time: Interval gap, after how many seconds the new image should be shown
webVTTForThumbnail: Boolean value determining
if the url contains webVTT for thumbnails
Example:
"thumbnails": {
"enabled": true,
"url": "./path/img.jpg",
"time": 5,
"numberOfIndicesPerRow": 10,
"webVTTForThumbnail": false
}
Optionaltimeline?: Timeline | stringURL to external reference of timeline markers or an object as below:
Example 1: "timelineInfoDemo.json" (if string)
Example 2: (if object)
"timeline": {
"url": ,
"skipSpoilerAlert": true/false (default: false),
// To skip spoiler alert on timeline icon click
"ignoreTimelineText": true/false (default: false)
// Ability to ignore text from timeline JSON
"interval": 60 (default: 0 = never refresh)
// Refresh interval for updated timeline data in seconds
}
OptionaltimelineInfo?: TimelineStats[]Timeline info
Optionaltitle?: stringTitle of the Stream
Default: ""
Example: "UEFA CHAMPIONS LEAGUE"
OptionaltitleEnabled?: booleanEnable showing Title
Default: true
Example: true
OptionaltitleMetadata?: stringString to be shown on stream title for Telekom
Optionaltooltips?: booleanTo specify if tooltips must be enabled or not for UI icons
Default: true
OptionaltrackLiveEdge?: booleanEnable playe to tracke live edge status, and reach the live edge if falling behind
Default: false
Example: true
OptionaltrackProgress?: TrackProgressPropsEnables tracking progress and start from beginning feature
Default:
trackProgress: {
enabled: false,
streamStartDateTime: null,
vod: false,
autoResume: false
}
Example:
trackProgress: {
enabled: true,
streamStartDateTime: null,
vod: false,
autoResume: true
}
OptionaluseDashDefaults?: booleanTo use default settings used by dash.js Default: false
OptionaluseHlsDefaults?: booleanTo use default settings used by hls.js Default: false
OptionalusePseudoFullscreen?: booleanUse CSS-based pseudo-fullscreen instead of native fullscreen API. Useful on iOS to prevent the native video player from taking over. When enabled, fullscreen uses fixed positioning to fill the viewport while keeping the player within the web context.
Default: false (uses native fullscreen)
OptionaluseSuggestedPresentationDelay?: booleanTo indicate if player must use presentation delay suggested in the manifest
(for dash streams)
Default: true
Example: true/false
Optionalvideoid?: numberDOM ID for the player element - player container
Default: 0
Example: 123456
Optionalvolume?: numberStartvolume in percent -If mute is true, it takes precedence
Default: 50
Example: 30 (Any number between 0 to 100)
Optionalwatermark?: WatermarkPropsPosition and details of watermark to be shown on player
enabled: Configures the player if visual waterm should be shown (Default: false)
url: URL to external reference
position: position of the watermark
(TL = TopLeft, TR = TopRight, BL = BottomLeft, BR = Bottom Right) - Default: TL
maxHeight: Max height in pixels that the image can have
maxWidth: Max width in pixels that the image can have
altText: Text shown in place of unloadable image
Example:
"watermark": {
"enabled": false,
"url": "sendelogo_rechts_vod.png",
"position": "TR",
"maxHeight": 100,
"maxWidth": 100,
altText: "Alternate Text"
}
Apart from playerLicenceKey of the player, and one of id/rootElement none of the other config options are mandatory.