Members
-
API_Upgrade
-
update the object:
- Add the segmentDownloadRetryDelay to the advancedConfig object
module:Player~advancedConfigremove the object:
- The analyticsConfig object was dropped
module:Player~analyticsConfigV 3.29.0 API Upgrade:
add the new API:
- get the current live latency:
getCurrentLiveLatency()- get the current play time as local time format:
getCurrentTimeForLocal()- Check whether the stream is support the trick mode or not:
isSupportTrickPlay()- Start/Cancel the trick mode play:
setTrickPlay()- Cancel the trick mode play:
cancelTrickPlay()modify the API:
- support PIP mode on chrome70+
isPipSupported()isInPipMode()setPipPresentation()add the new object:
- analyticsAgentOption Info
analyticsAgentOptionConfig- analyticsAgent Info
analyticsAgent- analyticsCustomData Info
analyticsCustomDataadd the new event:
voEvents#event:VO_OSMP_LICENSE_FAILvoEvents#event:VO_OSMP_TRICKMODE_CHANGEDupdate the object:
- Add poster info into the sourceConfig
module:Player~sourceConfig- The analyticsConfig of config Info was modified
module:Player~config- The analyticsConfig object was modified
module:Player~analyticsConfig- The new attributes were added into the analyticsInfo object
module:Player~analyticsInfo- The new attribute
analyticsCustomDatawas added into the sourceAdvancedConfig InfosourceAdvancedConfig- The
analyticsCustomDatawas added into the sourceConfig InfosourceConfigV 3.28.0 API Upgrade:
add the new API:
- get the analytics information:
getAnalyticsInfo()add the new object:
- analytics Info
analyticsInfo- sourceAdvancedConfig Info
sourceAdvancedConfigupdate the object:
- The externalSubtitle was added as a kind of sourceConfigTrack Info
sourceConfigTrack- The lowLatencyMode was removed from the advancedConfig Info
advancedConfig- The
sourceAdvancedConfigwas added as a property of sourceConfig InfosourceConfig- The lowLatencyMode was removed from the example of Config Info
configV 3.27.0 API Upgrade:
add the new API:
- add a new external subtitle track:
setExternalSubtitle()- change the ad window size:
resize()- get the playback is end or not:
isEnded()add the new object:
- external subtitle Info
externalSubtitleInfo- ads config info
adConfigupdate the object:
- The lowLatencyMode was added as a property of advancedConfig Info
advancedConfig- The adConfig was added as a property of config Info
configadd the new event:
VO_OSMP_CB_PLAY_VOLUME_CHANGEDVO_OSMP_AD_ALL_ADS_COMPLETEDVO_OSMP_AD_COMPANIONVO_OSMP_AD_ERRORVO_OSMP_AD_PLAYVO_OSMP_AD_PAUSEDVO_OSMP_AD_STARTEDVO_OSMP_AD_COMPLETEVO_OSMP_CB_CAST_CONNECTEDVO_OSMP_CB_CAST_DISCONNECTEDmodify the event:
- modifyed the event object properties
VO_OSMP_SRC_ADAPTIVE_STREAMING_INFO_EVENT_BITRATE_CHANGEremove the event:
VO_OSMP_SRC_CB_REMOTE_PLAYER_VOLUME_CHANGEDVO_OSMP_SRC_CB_REMOTE_PLAYER_MUTED_CHANGEDV 3.26.0 API Upgrade:
add the new API:
- add the listener to listen Player.events:
addEventListener()- remove the event listeners:
removeEventListener()- get the quailty info:
getQualityLevels()- select the the quality level:
selectQualityLevel()- get the available audio tracks of the current selected quality level:
getAudioTracks()- select the audio track:
selectAudioTrack()- get the available subtitle tracks of the current selected quality level:
getSubtitleTracks()- select the current subtitle track:
selectSubtitleTrack()- get the current active quality level:
getCurrentQualityLevel()- get the current active audio track:
getCurrentAudioTrack()- get the current active subtitle track:
getCurrentSubtitleTrack()- check whether the airplay is supported by the current browser:
isAirplaySupported()- show the playback target picker:
showPlaybackTargetPicker()- get the current stream is live or not:
isLive()- get the current seekable range of the media:
getSeekableRange()- set the current text track styles:
setSubtitleStyles()- get the default subtitle styles:
getDefaultSubtitleStyles()remove the API:
- setDRMVerificationInfo(data) It was deprecated, and now the drm propery is set in the
sourceConfigobject.- setThumbnailURI(url) It was deprecated, and now the url is set in the
sourceConfigobject.- enableAnalyticsAgent(enable) It was deprecated, and now the analytics propery is set in the
configobject.- setAnalyticsAgentCUID(cuid) It was deprecated, and now the analytics propery is set in the
configobject.- setSegmentDownloadRetryCount(count) It was deprecated, and now the count is set in the
configobject.- setLogToConsole(logToConsole) It was deprecated, and now the tag is set in the
configobject.- setOnEventHandler(event, callback, scope) It was deprecated and was replaced by the new API
addEventListener()/removeEventListener().- setView(view) It was deprecated, now the view is set when new a player. For example: var player = new Player.Player(view).
- getVideoCount() It was deprecated and was replaced by the new API
getQualityLevels().- isVideoAvailable(index) It was deprecated and was replaced by the new API
getQualityLevels().- getVideoProperty(index) It was deprecated and was replaced by the new API
getQualityLevels().- selectVideo(index) It was deprecated and was replaced by the new API
selectQualityLevel().- getVideoCount() It was deprecated and was repaced by the new API
getAudioTracks().- isAudioAvailable(index) It was deprecated and was replaced by the new API
getAudioTracks().- getAudioProperty(index) It was deprecated and was replaced by the new API
getAudioTracks().- selectAudio(index) It was deprecated and was replaced by the new API
selectAudioTrack().- getSubtitleCount() It was deprecated and was replaced by the new API
getSubtitleTracks().- isSubtitleAvailable(index) It was deprecated and was replaced by the new API
getSubtitleTracks().- getSubtitleProperty(index) It was deprecated and was replaced by the new API
getSubtitleTracks().- selectSutitle(index) It was deprecated and was replaced by the new API
selectSubtitleTrack().- commitSelection() It was deprecated.
- getCurrentSelection() It was deprecated and was replaced by the new API
getCurrentQualityLevel()/getCurrentAudioTrack()/getCurrentSubtitleTrack()/modify the API:
open()The parameter changes from url tosourceConfig.add the new object:
- playbackConfig Info
playbackConfig- analyticsConfig Info
analyticsConfig- logsConfig Info
logsConfig- advancedConfig Info
advancedConfig- sourceConfig Info
sourceConfig- sourceConfigTrack Info
sourceConfigTrack- sourceConfigLink Info
sourceConfigLink- fairplayConfig Info
fairplayConfig- widevineConfig Info
widevineConfig- playreadyConfig Info
playreadyConfig- clearkeyConfig Info
clearkeyConfig- sourceConfigOptions Info
sourceConfigOptions- Time Range Info
TimeRange- subtitleStyles Info
subtitleStyles- fontBackgroundColor Info
fontBackgroundColor- fontBackgroundOpacity Info
fontBackgroundOpacity- fontColor Info
fontColor- fontOpacity Info
fontOpacity- fontFamily Info
fontFamily- fontEdgeType Info
fontEdgeType- fontEdgeColor Info
fontEdgeColor- fontEdgeOpacity Info
fontEdgeOpacity- fontSize Info
fontSize- fontBold Info
fontBold- fontUnderline Info
fontUnderline- fontItalic Info
fontItalic- windowColor Info
windowColor- windowOpacity Info
windowOpacity- boundingBox Info
boundingBox- boundingBoxValue Info
boundingBoxValue- fontHorzPosition Info
fontHorzPositionadd the new event:
update the object:
- more properties was added to config Info
config- the properties of DRM Info was changed
drmInfo- audioProperty was changed to audioTrack Info
audioTrack- subtitleProperty was changed to subtitleTrack Info
subtitleTrack- videoProperty was changed to qualityLevel Info
qualityLevelV 3.25.0 API Upgrade:
add the new API:
- Set the thumbnail URI
setThumbnailURI()- Find a thumbnailInfo object by pos
findNearestThumbnail()add the new object:
add the new event:
VO_OSMP_SRC_CB_REMOTE_PLAYER_VOLUME_CHANGEDVO_OSMP_SRC_CB_CUSTOMER_TAGVO_OSMP_SRC_CB_REMOTE_PLAYER_MUTED_CHANGEDupdate the object:
- token, key and value were added to the DRM Info
drmInfo - Add the segmentDownloadRetryDelay to the advancedConfig object
voPlayer