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
setSrcAPI method now only accepts anObjectas 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 withhlsJSCustomConfigsetting - see our documentationshakaDurationBackoff,shakaStartAtSegmentBoundary,shakaManifestDefaultPresentationDelay,shakaSwitchInterval- those settings can still be set withshakaCustomConfig- see our documentationbitrates,backupBitratesandvideo360FallbackBitrates- usesrc,backupSrcandvideo360FallbackSrcsettings instead
- Removed
adEnableOmidandadImaEnableOmidBetasettings because OMID support is now out of BETA (and enabled by default) - Removed
webmFirst,webmCodecsandoggCodecsettings - replaced with a new approach on how to detect codecs support for progressive download - Replaced the following API events
adloadererrorwithimasdkloaderrorhlslevelswitchedwithlevelswitched
- Removed
103error code and1007,1013,6002warning - Removed the following API methods
getFrameworkENV.canPlayTypegetDefaultPlayerSettingsgetPlayerSettings
- The following API methods now return a
Booleanwhen no value is available (beforenullwas returned)getWaitingUIgetMute
- The following API methods now return an empty
ArrayorObjectwhen no value is available (beforenullwas returned)getCaptionsDatagetCaptionsListgetMetadatagetChaptersgetHlsManifestDatagetHlsSessionDatagetHlsLevelDatagetHlsFragmentDatagetHlsFragmentBeingPlayedDatagetHlsJSInstancegetShakaPlayerInstancegetHtmlMediaElementgetErrorDatagetAdPodInfogetAdsManagergetAdTraffickingParametersgetAdTraffickingParametersStringgetAdWrapperAdIdsgetAdWrapperAdSystemsgetAdWrapperCreativeIdsgetCompanionAdsgetCompanionAdgetAudioTracksgetContentMetadatagetPlaylistDatagetPlaylistItemgetBitratesgetDownloadedList