Migration guide
From Radiant Media Player v9 to v10
Please read the below carefully to avoid breaking changes in your player set up when upgrading to Radiant Media Player v10 from v9
- Please review "CSS Flexbox support - Breaking Changes" section here
- Please review "Player API - Breaking Changes" section here
- Please review "Error management - Breaking Changes" section here
- Please review "Logo inclusion - Breaking Changes" section here
- Please review "Closed captions (externally loaded) - Breaking Changes" section here
- Please review "Transcripts - Breaking Changes" section here
- Please review "Devices support - Breaking Changes" section here
- Removed support for using Radiant Media Player to build Fire TV apps and Android TV apps due to low usage
- Removed built-in aync player loading support -> refer to async loading documentation for a new way to achieve aync player loading
- Removed
rmpasyncplayerinstanceavailable
API event - Removed player module build -> this will be re-added with an upcoming minor release
- Removed skip button on cast sender player for skippable ads > ads need to be explicitly skipped on TV/receiver now
- Removed
forceInitialVolume
setting - Removed
dashFirst
setting - Removed
getCurrentBitrateIndex
API method > usequality
getter - Removed
hasDownloadSupport
API method > useenvironment.hasDownloadSupport
now - Removed
isOnline
API method > useenvironment.isOnline
now - Replaced
getAutoplayMode
API method withgetAutoplayResult
API method - Removed legacy support,
forceLegacyDependencies
setting and related files - Removed Streamroot P2P support as this solution is now obsolete and
streamrootConfig
setting - Replaced
forceHlsJSOnIpadOS
,forceHlsJSOnMacOSSafari
andforceHlsJSOnIos
settings withforceHlsJSOnAppleDevices
setting - Removed
detectViewerLanguage
setting - this is now managed internally by player adSchedule.preroll
andadSchedule.postroll
must now be a string (no more passing Array support)- Removed
shakaPreferredAudioLanguage
andshakaPreferredTextLanguage
settings - useaudioPreference
andsubtitlePreference
settings - Replaced
preferredVideoCodecs
andpreferredVideoHdr
settings withvideoPreference.videoCodecs
andvideoPreference.videoHdr
- AddedvideoPreference
setting - Removed
backupSrc
setting - use MPEG-DASH Multiple Base URLs or HLS Redundant variant streams instead - Removed
labels.hint.cast
,labels.hint.airplay
andlabels.hint.pip
- Removed
labels.bitrates
property - Removed
enableFrameNavigation
setting - this is now enabled by default - Removed
ajaxTimeout
setting - this is now set internally - Removed
liveOnResumeKeepSyncWithEdge
setting for hls.js > use hls.js custom configuration instead - Removed
retryParameters.maxTimeout
property - Removed
hlsJSStartLevel
,hlsJSDefaultAudioCodec
andhlsJSMinAutoBitrate
for hls.js - those settings are now automatically set internally - Removed
shakaStartAtSegmentBoundary
,shakaInaccurateManifestTolerance
andshakaIgnoreMinBufferTime
for Shaka player - those settings are now automatically set internally - Removed
environment.isModern
property - Replaced
preferSpatialAudio
withaudioPreference.spatialAudio
- Removed
adparserloaderror
API event > useadblock
API event instead (included for Google Analytics) - Removed
getAdParserBlocked
API method > usegetAdBlock
instead - Removed
startuptimeavailable
redundant API event > usefirstframe
API event instead - Removed
shakatrackschanged
API event - Re-named
rmp.module.js
tormp.min.mjs
file to for better consistency - Added
warningData
getter - warning details can no longer be obtained witherrorData
getter upon 'warning' event butwarningData
getter must now be used - Replaced
shakamanifestparsed
andhlsmanifestparsed
with universalmanifestparsed
API event - Replaced
initialBitrate
withinitialQuality
setting - Replaced
hlslevelloaded
withlevelloaded
API event (hls.js only) - Replaced
hlsmanifestloaded
withmanifestloaded
API event (hls.js only) - Replaced
hlsfragmentbeingplayedchanged
withfragmentbeingplayedchanged
API event (hls.js only) - Replaced
hlsfragmentloaded
withfragmentloaded
API event (hls.js only) - Replaced
hlsinstancecreated
withhlsjsinstancecreated
API event (hls.js only) - Replaced
levelswitching
with universalqualitychanging
API event - Replaced
levelswitched
with universalqualitychanged
API event - Replaced
audiotrackswitching
with universalaudiotrackchanging
API event - Replaced
audiotrackswitched
with universalaudiotrackchanged
API event - Removed
playlist
andrelated
API events > usesetPlaylistData
,setPlaylistLoc
andsetRelatedData
,setRelatedLoc
Promise result instead - Replaced
playlistitem
withplaylistitemloaded
API event - Replaced
relateditem
withrelateditemloaded
API event - Custom icon "off-volume" property is now "volume-off" property
- Removed "vr" custom icon
- Replaced
autoLowLatencyMode
setting withlowLatencyMode
setting that needs to be explicitly set