Migration guide
From v6 to v7
-
Please read the below carefully to avoid any breaking changes in your player set up when upgrading to Radiant Media Player v7 from v6
setSrc
API method now only accepts anObject
as input - in v6 you could pass aString
, this is no longer possible with v7- Removed rmp-three-xr player builds (specific for VR content) - those builds are now covered by
rmp-three
player builds
that cover both 360 and VR use-cases -
the files rmp-three-xr.min.js, rmp-three-hlsjs-xr.min.js and rmp-three-shaka-xr.min.js are therefore no longer available with our cloud-player or in self-hosting mode. Use rmp-three.min.js, rmp-three-hlsjs.min.js and rmp-three-shaka.min.js files instead. - Removed the following player settings
disableKeyboardControl
- no replacement for this setting (keyboard control is now mandatory and cannot be de-activated)uiSeparator
- no replacement for this setting (separator is frozen to letter |)shakaStartLevel
- this setting is now auto managed internally by the playerhlsJSMaxAudioFramesDrift
,hlsJSLiveSyncDurationCount
,hlsJSLiveMaxLatencyDurationCount
,hlsJSLiveSyncDuration
,hlsJSLiveMaxLatencyDuration
,hlsJSInitialLiveManifestSize
,hlsJSCapLevelOnFPSDrop
- those settings can still be set withhlsJSCustomConfig
setting - see our documentationshakaDurationBackoff
,shakaStartAtSegmentBoundary
,shakaManifestDefaultPresentationDelay
,shakaSwitchInterval
- those settings can still be set withshakaCustomConfig
- see our documentationbitrates
,backupBitrates
andvideo360FallbackBitrates
- usesrc
,backupSrc
andvideo360FallbackSrc
settings instead
- Removed
adEnableOmid
andadImaEnableOmidBeta
settings because OMID support is now out of BETA (and enabled by default) - Removed
webmFirst
,webmCodecs
andoggCodec
settings - replaced with a new approach on how to detect codecs support for progressive download - Replaced the following API events
adloadererror
withimasdkloaderror
hlslevelswitched
withlevelswitched
- Removed
103
error code and1007
,1013
,6002
warning - Removed the following API methods
getFramework
ENV.canPlayType
getDefaultPlayerSettings
getPlayerSettings
- The following API methods now return a
Boolean
when no value is available (beforenull
was returned)getWaitingUI
getMute
- The following API methods now return an empty
Array
orObject
when no value is available (beforenull
was returned)getCaptionsData
getCaptionsList
getMetadata
getChapters
getHlsManifestData
getHlsSessionData
getHlsLevelData
getHlsFragmentData
getHlsFragmentBeingPlayedData
getHlsJSInstance
getShakaPlayerInstance
getHtmlMediaElement
getErrorData
getAdPodInfo
getAdsManager
getAdTraffickingParameters
getAdTraffickingParametersString
getAdWrapperAdIds
getAdWrapperAdSystems
getAdWrapperCreativeIds
getCompanionAds
getCompanionAd
getAudioTracks
getContentMetadata
getPlaylistData
getPlaylistItem
getBitrates
getDownloadedList