From 16a8c35d765e501cff25bbe9117ba5adc261abde Mon Sep 17 00:00:00 2001 From: moskalakamil <91079590+moskalakamil@users.noreply.github.com> Date: Sat, 14 Dec 2024 15:16:13 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20TheWidla?= =?UTF-8?q?rzGroup/react-native-video@16fa20411f1bc29f274dad710a8acd0f091f?= =?UTF-8?q?c496=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 _next/static/chunks/nextra-data-en-US.json | 2 +- .../chunks/pages/projects-cae75f51f417125a.js | 1 - .../chunks/pages/projects-cea3e850f221f643.js | 1 + component/ads.html | 4 ++-- component/drm.html | 4 ++-- component/events.html | 4 ++-- component/methods.html | 4 ++-- component/props.html | 4 ++-- index.html | 4 ++-- installation.html | 4 ++-- other/caching.html | 4 ++-- other/debug.html | 4 ++-- other/expo.html | 4 ++-- other/misc.html | 4 ++-- other/new-arch.html | 4 ++-- other/plugin.html | 4 ++-- projects.html | 17 +++++++++-------- updating.html | 4 ++-- 21 files changed, 41 insertions(+), 40 deletions(-) rename _next/static/{zxWpxnZzNGiFA55W4kZpo => 7VuwaaePVoiIFB2Tm2Hn7}/_buildManifest.js (96%) rename _next/static/{zxWpxnZzNGiFA55W4kZpo => 7VuwaaePVoiIFB2Tm2Hn7}/_ssgManifest.js (100%) delete mode 100644 _next/static/chunks/pages/projects-cae75f51f417125a.js create mode 100644 _next/static/chunks/pages/projects-cea3e850f221f643.js diff --git a/404.html b/404.html index 04ae8c93fa..b9a26140e8 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/zxWpxnZzNGiFA55W4kZpo/_buildManifest.js b/_next/static/7VuwaaePVoiIFB2Tm2Hn7/_buildManifest.js similarity index 96% rename from _next/static/zxWpxnZzNGiFA55W4kZpo/_buildManifest.js rename to _next/static/7VuwaaePVoiIFB2Tm2Hn7/_buildManifest.js index 5a6fc73de1..0841c5a9b6 100644 --- a/_next/static/zxWpxnZzNGiFA55W4kZpo/_buildManifest.js +++ b/_next/static/7VuwaaePVoiIFB2Tm2Hn7/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(e,s){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[e,"static/chunks/pages/index-554692081a2d5fd2.js"],"/_error":["static/chunks/pages/_error-7a92967bea80186d.js"],"/component/ads":[e,"static/chunks/pages/component/ads-1e1fafd11dab9d88.js"],"/component/drm":[e,s,"static/chunks/pages/component/drm-f8c55cc46de3a279.js"],"/component/events":[e,s,"static/chunks/pages/component/events-fa03356d77ae4e2a.js"],"/component/methods":[e,s,"static/chunks/pages/component/methods-8913de1727c8c3a4.js"],"/component/props":[e,s,"static/chunks/pages/component/props-a18ca6a2a406050c.js"],"/installation":[e,"static/chunks/pages/installation-ac5c1dfc1ca39678.js"],"/other/caching":[e,"static/chunks/pages/other/caching-a88a4286e643e1e9.js"],"/other/debug":[e,"static/chunks/pages/other/debug-38ff613b63024781.js"],"/other/expo":[e,"static/chunks/pages/other/expo-5b8d18ab8812e57b.js"],"/other/misc":[e,"static/chunks/pages/other/misc-3d0dc31aca366b18.js"],"/other/new-arch":[e,"static/chunks/pages/other/new-arch-83b38619c8ad8c0c.js"],"/other/plugin":[e,"static/chunks/pages/other/plugin-a355b41f2a074771.js"],"/projects":[e,"static/chunks/pages/projects-cae75f51f417125a.js"],"/updating":[e,"static/chunks/pages/updating-c3d7946eeb6e210c.js"],sortedPages:["/","/_app","/_error","/component/ads","/component/drm","/component/events","/component/methods","/component/props","/installation","/other/caching","/other/debug","/other/expo","/other/misc","/other/new-arch","/other/plugin","/projects","/updating"]}}("static/chunks/673-c9f6925171f8c938.js","static/css/3a975f6040aa70fa.css"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(e,s){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[e,"static/chunks/pages/index-554692081a2d5fd2.js"],"/_error":["static/chunks/pages/_error-7a92967bea80186d.js"],"/component/ads":[e,"static/chunks/pages/component/ads-1e1fafd11dab9d88.js"],"/component/drm":[e,s,"static/chunks/pages/component/drm-f8c55cc46de3a279.js"],"/component/events":[e,s,"static/chunks/pages/component/events-fa03356d77ae4e2a.js"],"/component/methods":[e,s,"static/chunks/pages/component/methods-8913de1727c8c3a4.js"],"/component/props":[e,s,"static/chunks/pages/component/props-a18ca6a2a406050c.js"],"/installation":[e,"static/chunks/pages/installation-ac5c1dfc1ca39678.js"],"/other/caching":[e,"static/chunks/pages/other/caching-a88a4286e643e1e9.js"],"/other/debug":[e,"static/chunks/pages/other/debug-38ff613b63024781.js"],"/other/expo":[e,"static/chunks/pages/other/expo-5b8d18ab8812e57b.js"],"/other/misc":[e,"static/chunks/pages/other/misc-3d0dc31aca366b18.js"],"/other/new-arch":[e,"static/chunks/pages/other/new-arch-83b38619c8ad8c0c.js"],"/other/plugin":[e,"static/chunks/pages/other/plugin-a355b41f2a074771.js"],"/projects":[e,"static/chunks/pages/projects-cea3e850f221f643.js"],"/updating":[e,"static/chunks/pages/updating-c3d7946eeb6e210c.js"],sortedPages:["/","/_app","/_error","/component/ads","/component/drm","/component/events","/component/methods","/component/props","/installation","/other/caching","/other/debug","/other/expo","/other/misc","/other/new-arch","/other/plugin","/projects","/updating"]}}("static/chunks/673-c9f6925171f8c938.js","static/css/3a975f6040aa70fa.css"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/zxWpxnZzNGiFA55W4kZpo/_ssgManifest.js b/_next/static/7VuwaaePVoiIFB2Tm2Hn7/_ssgManifest.js similarity index 100% rename from _next/static/zxWpxnZzNGiFA55W4kZpo/_ssgManifest.js rename to _next/static/7VuwaaePVoiIFB2Tm2Hn7/_ssgManifest.js diff --git a/_next/static/chunks/nextra-data-en-US.json b/_next/static/chunks/nextra-data-en-US.json index e862fb9f11..1066ba250b 100644 --- a/_next/static/chunks/nextra-data-en-US.json +++ b/_next/static/chunks/nextra-data-en-US.json @@ -1 +1 @@ -{"/component/ads":{"title":"Ads","data":{"ima-sdk#IMA SDK":"react-native-video has built-in support for Google IMA SDK for Android and iOS. To enable it please refer to installation section","usage#Usage":"To use AVOD, you need to pass adTagUrl prop to Video component. adTagUrl is a VAST uri.Example:\nadTagUrl=\"https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/vmap_ad_samples&sz=640x480&cust_params=sample_ar%3Dpremidpostoptimizedpodbumper&ciu_szs=300x250&gdfp_req=1&ad_rule=1&output=vmap&unviewed_position_start=1&env=vp&impl=s&cmsid=496&vid=short_onecue&correlator=\"\nNOTE: Video ads cannot start when you are using the PIP on iOS (more info available at Google IMA SDK Docs). If you are using custom controls, you must hide your PIP button when you receive the STARTED event from onReceiveAdEvent and show it again when you receive the ALL_ADS_COMPLETED event.","events#Events":"To receive events from IMA SDK, you need to pass onReceiveAdEvent prop to Video component. List of events, you can find hereExample:\n...\nonReceiveAdEvent={event => console.log(event)}\n...","localization#Localization":"To change the language of the IMA SDK, you need to pass adLanguage prop to Video component. List of supported languages, you can find hereBy default, ios will use system language and android will use enExample:\n...\nadLanguage=\"fr\"\n..."}},"/component/drm":{"title":"DRM","data":{"drm-example#DRM Example":"We have available example for DRM usage in the example app.\nTo get token needed for DRM playback you can go to our site and get it.","provide-drm-data-only-tested-with-httphttps-assets#Provide DRM data (only tested with http/https assets)":"You can provide some configuration to allow DRM playback.\nThis feature will disable the use of TextureView on Android.DRM object allows this members:","base64certificate#base64Certificate":"Type: bool\nDefault: falseWhether or not the certificate url returns it on base64.","certificateurl#certificateUrl":"Type: string\nDefault: undefinedURL to fetch a valid certificate for FairPlay.","getlicense#getLicense":"Type: function\nDefault: undefinedRather than setting the licenseServer url to get the license, you can manually get the license on the JS part, and send the result to the native part to configure FairplayDRM for the streamlicenseServer and headers will be ignored. You will obtain as argument the SPC\n(as ASCII string, you will probably need to convert it to base 64) obtained from\nyour contentId + the provided certificate via objc [loadingRequest streamingContentKeyRequestDataForApp:certificateData\ncontentIdentifier:contentIdData options:nil error:&spcError]; Also, you will receive following parameter of getLicense:\ncontentId contentId if passed to drm object or loadingRequest.request.url?.host\nloadedLicenseUrl URL defined as loadingRequest.request.URL.absoluteString, this url starts with skd:// or clearkey://\nlicenseServer prop if prop is passed to drm object.\nspcString the SPC used to validate playback with drm server\nYou should return on this method a CKC in Base64, either by just returning it or returning a Promise that resolves with the CKC.With this prop you can override the license acquisition flow, as an example:\ngetLicense: (spcString, contentId, licenseUrl, loadedLicenseUrl) => {\n const base64spc = Base64.encode(spcString);\n const formData = new FormData();\n formData.append('spc', base64spc);\n return fetch(`https://license.pallycon.com/ri/licenseManager.do`, {\n method: 'POST',\n headers: {\n 'pallycon-customdata-v2':\n '==',\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n body: formData,\n })\n .then((response) => response.text())\n .then((response) => {\n return response;\n })\n .catch((error) => {\n console.error('Error', error);\n });\n};","contentid#contentId":"Type: string\nDefault: undefinedSpecify the content id of the stream, otherwise it will take the host value from loadingRequest.request.URL.host (f.e: skd://testAsset -> will take testAsset)","headers#headers":"Type: Object\nDefault: undefinedYou can customize headers send to the licenseServer.Example:\nsource={{\n uri: 'https://media.axprod.net/TestVectors/v7-MultiDRM-SingleKey/Manifest_1080p.mpd',\n}}\ndrm={{\n type: DRMType.WIDEVINE,\n licenseServer: 'https://drm-widevine-licensing.axtest.net/AcquireLicense',\n headers: {\n 'X-AxDRM-Message': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..FAbIiPxX8BHi9RwfzD7Yn-wugU19ghrkBFKsaCPrZmU'\n },\n}}","licenseserver#licenseServer":"Type: string\nDefault: falseThe URL pointing to the licenseServer that will provide the authorization to play the protected stream.","multidrm#multiDrm":"Type: boolean\nDefault: falseIndicates that drm system shall support key rotation, see: https://developer.android.google.cn/media/media3/exoplayer/drm?hl=en#key-rotation","type#type":"Type: DRMType\nDefault: undefinedYou can specify the DRM type, either by string or using the exported DRMType enum.\nValid values are, for Android: DRMType.WIDEVINE / DRMType.PLAYREADY / DRMType.CLEARKEY.\nfor iOS: DRMType.FAIRPLAY","localsourceencryptionkeyscheme#localSourceEncryptionKeyScheme":"Set the url scheme for stream encryption key for local assetsType: StringExample:\nlocalSourceEncryptionKeyScheme=\"my-offline-key\"","common-usage-scenarios#Common Usage Scenarios":"","send-cookies-to-license-server#Send cookies to license server":"You can send Cookies to the license server via headers prop. Example:\ndrm: {\n type: DRMType.WIDEVINE\n licenseServer: 'https://drm-widevine-licensing.axtest.net/AcquireLicense',\n headers: {\n 'Cookie': 'PHPSESSID=etcetc; csrftoken=mytoken; _gat=1; foo=bar'\n },\n}","custom-license-acquisition-only-ios-for-now#Custom License Acquisition (only iOS for now)":"drm: {\n type: DRMType.FAIRPLAY,\n getLicense: (spcString) => {\n const base64spc = Base64.encode(spcString);\n return fetch('YOUR LICENSE SERVER HERE', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n Accept: 'application/json',\n },\n body: JSON.stringify({\n getFairplayLicense: {\n foo: 'bar',\n spcMessage: base64spc,\n }\n })\n })\n .then(response => response.json())\n .then((response) => {\n if (response && response.getFairplayLicenseResponse\n && response.getFairplayLicenseResponse.ckcResponse) {\n return response.getFairplayLicenseResponse.ckcResponse;\n }\n throw new Error('No correct response');\n })\n .catch((error) => {\n console.error('CKC error', error);\n });\n }\n}"}},"/component/methods":{"title":"Methods","data":{"":"This page shows the list of available methods","dismissfullscreenplayer#dismissFullscreenPlayer":"dismissFullscreenPlayer(): PromiseTake the player out of fullscreen mode.\n[!WARNING]\ndeprecated, use setFullScreen method instead","pause#pause":"pause(): PromisePause the video.","presentfullscreenplayer#presentFullscreenPlayer":"presentFullscreenPlayer(): PromisePut the player in fullscreen mode.On iOS, this displays the video in a fullscreen view controller with controls.On Android, this puts the navigation controls in fullscreen mode. It is not a complete fullscreen implementation, so you will still need to apply a style that makes the width and height match your screen dimensions to get a fullscreen video.\n[!WARNING]\ndeprecated, use setFullScreen method instead","resume#resume":"resume(): PromiseResume the video.","restoreuserinterfaceforpictureinpicturestopcompleted#restoreUserInterfaceForPictureInPictureStopCompleted":"(restored)This function corresponds to the completion handler in Apple's restoreUserInterfaceForPictureInPictureStop. IMPORTANT: This function must be called after onRestoreUserInterfaceForPictureInPictureStop is called.","save#save":"save(): Promise<{ uri: string }>Save video to your Photos with current filter prop. Returns promise.Notes:\nCurrently only supports highest quality export\nCurrently only supports MP4 export\nCurrently only supports exporting to user's cache directory with a generated UUID filename.\nUser will need to remove the saved video through their Photos app\nWorks with cached videos as well. (Checkout video-caching example)\nIf the video is has not began buffering (e.g. there is no internet connection) then the save function will throw an error.\nIf the video is buffering then the save function promise will return after the video has finished buffering and processing.\nFuture:\nWill support multiple qualities through options\nWill support more formats in the future through options\nWill support custom directory and file name through options","seek#seek":"seek(seconds)Seek to the specified position represented by seconds. seconds is a float value.seek() can only be called after the onLoad event has fired. Once completed, the onSeek event will be called.","exact-seek#Exact seek":"By default iOS seeks within 100 milliseconds of the target position. If you need more accuracy, you can use the seek with tolerance method:seek(seconds, tolerance)tolerance is the max distance in milliseconds from the seconds position that's allowed. Using a more exact tolerance can cause seeks to take longer. If you want to seek exactly, set tolerance to 0.","setvolume#setVolume":"setVolume(value): PromiseThis function will change the volume exactly like volume property. default value and range are the same then.","getcurrentposition#getCurrentPosition":"getCurrentPosition(): PromiseThis function retrieves and returns the precise current position of the video playback, measured in seconds.\nThis function will throw an error if player is not initialized.","setsource#setSource":"setSource(source: ReactVideoSource): PromiseThis function will change the source exactly like source property.\nChanging source with this function will overide source provided as props.","setfullscreen#setFullScreen":"setFullScreen(fullscreen): PromiseIf you set it to true, the player enters fullscreen mode. If you set it to false, the player exits fullscreen mode.On iOS, this displays the video in a fullscreen view controller with controls.On Android, this puts the navigation controls in fullscreen mode. It is not a complete fullscreen implementation, so you will still need to apply a style that makes the width and height match your screen dimensions to get a fullscreen video.","nativehtmlvideoref#nativeHtmlVideoRef":"A ref to the underlying html video element. This can be used if you need to integrate a 3d party, web only video library (like hls.js, shaka, video.js...).","example-usage#Example Usage":"const videoRef = useRef(null);\nconst someCoolFunctions = async () => {\n if (!videoRef.current) {\n return;\n }\n // present or dismiss fullscreen player\n videoRef.current.presentFullscreenPlayer();\n videoRef.current.dismissFullscreenPlayer();\n // pause or resume the video\n videoRef.current.pause();\n videoRef.current.resume();\n // save video to your Photos with current filter prop\n const response = await videoRef.current.save();\n const path = response.uri;\n // seek to the specified position represented by seconds\n videoRef.current.seek(200);\n // or on iOS you can seek with tolerance\n videoRef.current.seek(200, 10);\n};\nreturn (\n \n);","static-methods#Static methods":"","getwidevinelevel#getWidevineLevel":"Indicates whether the widevine level supported by device.Possible values are:\n0 - unable to determine widevine support (typically not supported)\n1, 2, 3 - Widevine level supported","iscodecsupported#isCodecSupported":"Indicates whether the provided codec is supported level supported by device.parameters:\nmimetype: mime type of codec to query\nwidth, height: resolution to query\nPossible results:\nhardware - codec is supported by hardware\nsoftware - codec is supported by software only\nunsupported - codec is not supported","ishevcsupported#isHEVCSupported":"Helper which Indicates whether the provided HEVC/1920*1080 is supported level supported by device. It uses isCodecSupported internally.","example-usage-1#Example Usage":"import { VideoDecoderProperties } from 'react-native-video';\nVideoDecoderProperties.getWidevineLevel().then((level) => {\n ...\n});\nVideoDecoderProperties.isCodecSupported('video/hevc', 1920, 1080).then((support) => {\n ...\n});\nVideoDecoderProperties.isHEVCSupported().then((support) => {\n ...\n});"}},"/component/events":{"title":"Events","data":{"":"This page shows the list of available callbacks to handle player notifications","details#Details":"","onaudiobecomingnoisy#onAudioBecomingNoisy":"Callback function that is called when the audio is about to become 'noisy' due to\na change in audio outputs. Typically this is called when audio output is being switched\nfrom an external source like headphones back to the internal speaker. It's a good\nidea to pause the media when this happens so the speaker doesn't start blasting sound.Payload: none","onaudiofocuschanged#onAudioFocusChanged":"Callback function that is called when the audio focus changes. This is called when the audio focus is gained or lost. This is useful for determining if the media should be paused or not.Payload:\nProperty\tType\tDescription\thasAudioFocus\tboolean\tBoolean indicating whether the media has audio focus\t\nExample:\n{\n hasAudioFocus: true;\n}","onaudiotracks#onAudioTracks":"Callback function that is called when audio tracks changePayload:An array of\nProperty\tType\tDescription\tindex\tnumber\tInternal track ID\ttitle\tstring\tDescriptive name for the track\tlanguage\tstring\t2 letter ISO 639-1 code representing the language\tbitrate\tnumber\tbitrate of track\ttype\tstring\tMime type of track\tselected\tboolean\ttrue if track is playing\t\nExample:\n{\n audioTracks: [\n { language: 'es', title: 'Spanish', type: 'audio/mpeg', index: 0, selected: true },\n { language: 'en', title: 'English', type: 'audio/mpeg', index: 1 }\n ];\n}","onbandwidthupdate#onBandwidthUpdate":"Callback function that is called when the available bandwidth changes.Payload:\nProperty\tType\tDescription\tbitrate\tnumber\tThe estimated bitrate in bits/sec\twidth\tnumber\tThe width of the video (android only)\theight\tnumber\tThe height of the video (android only)\ttrackId\tstring\tThe track ID of the video track (android only)\t\nExample on iOS:\n{\n bitrate: 1000000;\n}\nExample on Android:\n{\n bitrate: 1000000;\n width: 1920;\n height: 1080;\n trackId: 'some-track-id';\n}\nNote: On Android, you must set the reportBandwidth prop to enable this event. This is due to the high volume of events generated.","onbuffer#onBuffer":"Callback function that is called when the player buffers.Payload:\nProperty\tType\tDescription\tisBuffering\tboolean\tBoolean indicating whether buffering is active\t\nExample:\n{\n isBuffering: true;\n}","oncontrolsvisibilitychange#onControlsVisibilityChange":"Callback function that is called when the controls are hidden or shown. Not possible on iOS.Payload:\nProperty\tType\tDescription\tisVisible\tboolean\tBoolean indicating whether controls are visible\t\nExample:\n{\n isVisible: true;\n}","onend#onEnd":"Callback function that is called when the player reaches the end of the media.Payload: none","onerror#onError":"Callback function that is called when the player experiences a playback error.Payload:\nProperty\tType\tDescription\terror\tobject\tObject containing properties with information about the error","onexternalplaybackchange#onExternalPlaybackChange":"Callback function that is called when external playback mode for current playing video has changed. Mostly useful when connecting/disconnecting to Apple TV – it's called on connection/disconnection.Payload:\nProperty\tType\tDescription\tisExternalPlaybackActive\tboolean\tBoolean indicating whether external playback mode is active\t\nExample:\n{\n isExternalPlaybackActive: true;\n}","onfullscreenplayerwillpresent#onFullscreenPlayerWillPresent":"Callback function that is called when the player is about to enter fullscreen mode.Payload: none","onfullscreenplayerdidpresent#onFullscreenPlayerDidPresent":"Callback function that is called when the player has entered fullscreen mode.Payload: none","onfullscreenplayerwilldismiss#onFullscreenPlayerWillDismiss":"Callback function that is called when the player is about to exit fullscreen mode.Payload: none","onfullscreenplayerdiddismiss#onFullscreenPlayerDidDismiss":"Callback function that is called when the player has exited fullscreen mode.Payload: none","onload#onLoad":"Callback function that is called when the media is loaded and ready to play.NOTE: tracks (audioTracks, textTracks & videoTracks) are not available on the web.Payload:\nProperty\tType\tDescription\tcurrentTime\tnumber\tTime in seconds where the media will start\tduration\tnumber\tLength of the media in seconds\tnaturalSize\tobject\tProperties: _ width - Width in pixels that the video was encoded at _ height - Height in pixels that the video was encoded at * orientation - \"portrait\", \"landscape\" or \"square\"\taudioTracks\tarray\tAn array of audio track info objects with the following properties: _ index - Index number _ title - Description of the track _ language - 2 letter ISO 639-1 or 3 letter ISO639-2 language code _ type - Mime type of track\ttextTracks\tarray\tAn array of text track info objects with the following properties: _ index - Index number _ title - Description of the track _ language - 2 letter ISO 639-1 or 3 letter ISO 639-2 language code _ type - Mime type of track\tvideoTracks\tarray\tAn array of video track info objects with the following properties: _ trackId - ID for the track _ bitrate - Bit rate in bits per second _ codecs - Comma separated list of codecs _ height - Height of the video * width - Width of the video\ttrackId\tstring\tProvide key information about the video track, typically including: Resolution, Bitrate.\t\nExample:\n{\n canPlaySlowForward: true,\n canPlayReverse: false,\n canPlaySlowReverse: false,\n canPlayFastForward: false,\n canStepForward: false,\n canStepBackward: false,\n currentTime: 0,\n duration: 5910.208984375,\n naturalSize: {\n height: 1080\n orientation: 'landscape'\n width: '1920'\n },\n audioTracks: [\n { language: 'es', title: 'Spanish', type: 'audio/mpeg', index: 0 },\n { language: 'en', title: 'English', type: 'audio/mpeg', index: 1 }\n ],\n textTracks: [\n { title: '#1 French', language: 'fr', index: 0, type: 'text/vtt' },\n { title: '#2 English CC', language: 'en', index: 1, type: 'text/vtt' },\n { title: '#3 English Director Commentary', language: 'en', index: 2, type: 'text/vtt' }\n ],\n videoTracks: [\n { index: 0, bitrate: 3987904, codecs: \"avc1.640028\", height: 720, trackId: \"f1-v1-x3\", width: 1280 },\n { index: 1, bitrate: 7981888, codecs: \"avc1.640028\", height: 1080, trackId: \"f2-v1-x3\", width: 1920 },\n { index: 2, bitrate: 1994979, codecs: \"avc1.4d401f\", height: 480, trackId: \"f3-v1-x3\", width: 848 }\n ],\n trackId: \"720p 2400kbps\"\n}","onloadstart#onLoadStart":"Callback function that is called when the media starts loading.Payload:\nProperty\tType\tDescription\tisNetwork\tboolean\tBoolean indicating if the media is being loaded from the network\ttype\tstring\tType of the media. Not available on Windows\turi\tstring\tURI for the media source. Not available on Windows\t\nExample:\n{\n isNetwork: true,\n type: '',\n uri: 'https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8'\n}","onplaybackstatechanged#onPlaybackStateChanged":"Callback function that is called when the playback state changes.Payload:\nProperty\tType\tDescription\tisPlaying\tboolean\tBoolean indicating if the media is playing or not\tisSeeking\tboolean\tBoolean indicating if the player is seeking or not\t\nExample:\n{\n isPlaying: true,\n isSeeking: false\n}","onpictureinpicturestatuschanged#onPictureInPictureStatusChanged":"Callback function that is called when picture in picture becomes active or inactive.\nProperty\tType\tDescription\tisActive\tboolean\tBoolean indicating whether picture in picture is active\t\nExample:\n{\n isActive: true;\n}","onplaybackratechange#onPlaybackRateChange":"Callback function that is called when the rate of playback changes - either paused or starts/resumes.\nProperty\tType\tDescription\tplaybackRate\tnumber\t0 when playback is paused, 1 when playing at normal speed. Other values when playback is slowed down or sped up\t\nExample:\n{\n playbackRate: 0, // indicates paused\n}","onprogress#onProgress":"Callback function that is called every progressUpdateInterval milliseconds with info about which position the media is currently playing.\nProperty\tType\tDescription\tcurrentTime\tnumber\tCurrent position in seconds\tplayableDuration\tnumber\tPosition to where the media can be played to using just the buffer in seconds\tseekableDuration\tnumber\tPosition to where the media can be seeked to in seconds. Typically, the total length of the media\t\nExample:\n{\n currentTime: 5.2,\n playableDuration: 34.6,\n seekableDuration: 888\n}","onreadyfordisplay#onReadyForDisplay":"Callback function that is called when the first video frame is ready for display. This is when the poster is removed.Payload: none\niOS: readyForDisplay\nAndroid STATE_READY","onreceiveadevent#onReceiveAdEvent":"Callback function that is called when an AdEvent is received from the IMA's SDK.Enum AdEvent possible values for Android and iOS:\nEvents\nEvent\tPlatform\tDescription\tAD_BREAK_ENDED\tiOS\tFired the first time each ad break ends. Applications must reenable seeking when this occurs (only used for dynamic ad insertion).\tAD_BREAK_READY\tAndroid, iOS\tFires when an ad rule or a VMAP ad break would have played if autoPlayAdBreaks is false.\tAD_BREAK_STARTED\tiOS\tFired first time each ad break begins playback. If an ad break is watched subsequent times this will not be fired. Applications must disable seeking when this occurs (only used for dynamic ad insertion).\tAD_BUFFERING\tAndroid\tFires when the ad has stalled playback to buffer.\tAD_CAN_PLAY\tAndroid\tFires when the ad is ready to play without buffering, either at the beginning of the ad or after buffering completes.\tAD_METADATA\tAndroid\tFires when an ads list is loaded.\tAD_PERIOD_ENDED\tiOS\tFired every time the stream switches from advertising or slate to content. This will be fired even when an ad is played a second time or when seeking into an ad (only used for dynamic ad insertion).\tAD_PERIOD_STARTED\tiOS\tFired every time the stream switches from content to advertising or slate. This will be fired even when an ad is played a second time or when seeking into an ad (only used for dynamic ad insertion).\tAD_PROGRESS\tAndroid\tFires when the ad's current time value changes. The event data will be populated with an AdProgressData object.\tALL_ADS_COMPLETED\tAndroid, iOS\tFires when the ads manager is done playing all the valid ads in the ads response, or when the response doesn't return any valid ads.\tCLICK\tAndroid, iOS\tFires when the ad is clicked.\tCOMPLETED\tAndroid, iOS\tFires when the ad completes playing.\tCONTENT_PAUSE_REQUESTED\tAndroid\tFires when content should be paused. This usually happens right before an ad is about to cover the content.\tCONTENT_RESUME_REQUESTED\tAndroid\tFires when content should be resumed. This usually happens when an ad finishes or collapses.\tCUEPOINTS_CHANGED\tiOS\tCuepoints changed for VOD stream (only used for dynamic ad insertion).\tDURATION_CHANGE\tAndroid\tFires when the ad's duration changes.\tERROR\tAndroid, iOS\tFires when an error occurred while loading the ad and prevent it from playing.\tFIRST_QUARTILE\tAndroid, iOS\tFires when the ad playhead crosses first quartile.\tIMPRESSION\tAndroid\tFires when the impression URL has been pinged.\tINTERACTION\tAndroid\tFires when an ad triggers the interaction callback. Ad interactions contain an interaction ID string in the ad data.\tLINEAR_CHANGED\tAndroid\tFires when the displayed ad changes from linear to nonlinear, or the reverse.\tLOADED\tAndroid, iOS\tFires when ad data is available.\tLOG\tAndroid, iOS\tFires when a non-fatal error is encountered. The user need not take any action since the SDK will continue with the same or next ad playback depending on the error situation.\tMIDPOINT\tAndroid, iOS\tFires when the ad playhead crosses midpoint.\tPAUSED\tAndroid, iOS\tFires when the ad is paused.\tRESUMED\tAndroid, iOS\tFires when the ad is resumed.\tSKIPPABLE_STATE_CHANGED\tAndroid\tFires when the displayed ads skippable state is changed.\tSKIPPED\tAndroid, iOS\tFires when the ad is skipped by the user.\tSTARTED\tAndroid, iOS\tFires when the ad starts playing.\tSTREAM_LOADED\tiOS\tStream request has loaded (only used for dynamic ad insertion).\tTAPPED\tiOS\tFires when the ad is tapped.\tTHIRD_QUARTILE\tAndroid, iOS\tFires when the ad playhead crosses third quartile.\tUNKNOWN\tiOS\tAn unknown event has fired\tUSER_CLOSE\tAndroid\tFires when the ad is closed by the user.\tVIDEO_CLICKED\tAndroid\tFires when the non-clickthrough portion of a video ad is clicked.\tVIDEO_ICON_CLICKED\tAndroid\tFires when a user clicks a video icon.\tVOLUME_CHANGED\tAndroid\tFires when the ad volume has changed.\tVOLUME_MUTED\tAndroid\tFires when the ad volume has been muted.\t\nPayload:\nProperty\tType\tDescription\tevent\tAdEvent\tThe ad event received\tdata\tRecord | undefined\tThe ad event data\t\nExample:\n{\n \"data\": {\n \"key\": \"value\"\n },\n \"event\": \"LOG\"\n}","onrestoreuserinterfaceforpictureinpicturestop#onRestoreUserInterfaceForPictureInPictureStop":"Callback function that corresponds to Apple's . Call inside of this function when done restoring the user interface.Payload: none","onseek#onSeek":"Callback function that is called when a seek completes.Payload:\nProperty\tType\tDescription\tcurrentTime\tnumber\tThe current time after the seek\tseekTime\tnumber\tThe requested time\t\nExample:\n{\n currentTime: 100.5;\n seekTime: 100;\n}\nBoth the currentTime & seekTime are reported because the video player may not seek to the exact requested position in order to improve seek performance.Note: on iOS, when controls are enable, this callback is not reported. This is a known limitation.","ontimedmetadata#onTimedMetadata":"Callback function that is called when timed metadata becomes availablePayload:\nProperty\tType\tDescription\tmetadata\tarray\tArray of metadata objects\t\nExample:\n{\n metadata: [\n {value: 'Streaming Encoder', identifier: 'TRSN'},\n {value: 'Internet Stream', identifier: 'TRSO'},\n {value: 'Any Time You Like', identifier: 'TIT2'},\n ];\n}","ontexttrackdatachanged#onTextTrackDataChanged":"Callback function that is called when new subtitle data is available. It provides the actual subtitle content for the current selected text track, if available (mainly WebVTT).Payload:\nProperty\tType\tDescription\tsubtitleTracks\tstring\tThe subtitles text content in a compatible format.\t\nExample:\n{\n subtitleTracks: \"This blade has a dark past.\",\n}\nFor details on how to control the visibility of subtitles, see the subtitleStyle section.","ontexttracks#onTextTracks":"Callback function that is called when text tracks changePayload:\nProperty\tType\tDescription\tindex\tnumber\tInternal track ID\ttitle\tstring\tDescriptive name for the track\tlanguage\tstring\t2 letter ISO 639-1 code representing the language\ttype\tstring\tMime type of the track _ TextTrackType.SRT - SubRip (.srt) _ TextTrackType.TTML - TTML (.ttml) * TextTrackType.VTT - WebVTT (.vtt)iOS only supports VTT, Android supports all 3\tselected\tboolean\ttrue if track is playing\t\nExample:\n{\n textTracks: [\n {\n index: 0,\n title: 'Any Time You Like',\n type: 'srt',\n selected: true,\n },\n ];\n}","onvideotracks#onVideoTracks":"Callback function that is called when video tracks changePayload:\nProperty\tType\tDescription\tindex\tnumber\tindex of the track\ttrackId\tstring\tInternal track ID\tcodecs\tstring\tMimeType of codec used for this track\twidth\tnumber\tTrack width\theight\tnumber\tTrack height\tbitrate\tnumber\tBitrate in bps\tselected\tboolean\ttrue if track is selected for playing\trotation\tnumber\t0, 90, 180 or 270 rotation to apply to the track (android only)\t\nExample:\n{\n videoTracks: [\n {\n index: O,\n trackId: \"0\",\n codecs: 'video/mp4',\n width: 1920,\n height: 1080,\n bitrate: 10000,\n selected: true,\n rotation: 0,\n },\n ];\n}","onvolumechange#onVolumeChange":"Callback function that is called when the volume of player changes.\nNote: This event applies to the volume of the player, not the volume of the device.\nPayload:\nProperty\tType\tDescription\tvolume\tnumber\tThe volume of the player (between 0 and 1)\t\nExample:\n{\n volume: 0.5;\n}"}},"/":{"title":"A