Releases: radiantmediaplayer/rmp-vast
Releases · radiantmediaplayer/rmp-vast
14.0.1
14.0.0
rmp-vast v14 is a rewrite of rmp-vast with modern JavaScript using classes and getter/setter. Part of rmp-vast was already rewritten but this release completes the jobs.
Breaking changes are listed below:
- Removes forceUseContentPlayerForAds setting, forceUseContentPlayerForAdsOniOS setting, getIsUsingContentPlayerForAds API. These settings existed to support old platforms and iOS lack of support for Fullscreen API. Maintaining those settings was causing a lot of unwanted testing and work so we removed it to simplify the rmp-vast process of displaying video ads.
- Replaced getEnvironment with environment getter
- Replaced getAdPaused with adPaused getter
- Replaced setVolume with volume setter
- Replaced getVolume with volume getter
- Replaced setMute with muted setter
- Replaced getMute with muted getter
- Replaced getAdTagUrl with adTagUrl getter
- Replaced getAdMediaUrl with adMediaUrl getter
- Replaced getAdLinear with adLinear getter
- Replaced getAdSystem with adSystem getter
- Replaced getAdUniversalAdIds with adUniversalAdIds getter
- Replaced getAdContentType with adContentType getter
- Replaced getAdTitle with adTitle getter
- Replaced getAdDescription with adDescription getter
- Replaced getAdAdvertiser with adAdvertiser getter
- Replaced getAdPricing with adPricing getter
- Replaced getAdSurvey with adSurvey getter
- Replaced getAdAdServingId with adAdServingId getter
- Replaced getAdCategories with adCategories getter
- Replaced getAdBlockedAdCategories with adBlockedAdCategories getter
- Replaced getAdDuration with adDuration getter
- Replaced getAdCurrentTime with adCurrentTime getter
- Replaced getAdRemainingTime with adRemainingTime getter
- Replaced getAdOnStage with adOnStage getter
- Replaced getAdMediaWidth with adMediaWidth getter
- Replaced getAdMediaHeight with adMediaHeight getter
- Replaced getClickThroughUrl with clickThroughUrl getter
- Replaced getSkipTimeOffset with skipTimeOffset getter
- Replaced getIsSkippableAd with isSkippableAd getter
- Replaced getContentPlayerCompleted with contentPlayerCompleted getter
- Replaced setContentPlayerCompleted with contentPlayerCompleted setter
- Replaced getAdErrorMessage with adErrorMessage getter
- Replaced getAdVastErrorCode with adVastErrorCode getter
- Replaced getAdErrorType with adErrorType getter
- Replaced getIsUsingContentPlayerForAds with isUsingContentPlayerForAds getter
- Replaced getAdSkippableState with adSkippableState getter
- Replaced getVastPlayer with adPlayer getter
- Replaced getContentPlayer with contentPlayer getter
- Replaced getCompanionAdsRequiredAttribute with companionAdsRequiredAttribute getter
- Replaced getInitialized with initialized getter
- Replaced getAdPodInfo with adPodInfo getter
- Replaced getAdExpanded with adExpanded getter
- Replaced getVPAIDCompanionAds with vpaidCompanionAds getter
- Replaced textForClickUIOnMobile setting with textForInteractionUIOnMobile setting
- Replaced showControlsForVastPlayer setting with showControlsForAdPlayer setting
- Renamed dispatcher-event.js file to dispatcher.js file and DispatcherEvent class to Dispatcher class
- Renamed env.js file to environment.js file and ENV module to Environment class
- Renamed vast-player.js file to ad-player.js file and replaced VAST_PLAYER module with AdPlayer class
- Replaced CONTENT_PLAYER module with ContentPlayer class, ICONS module with Icons class, LINEAR module with LinearCreative class, NON_LINEAR module with NonLinearCreative class
- Replaced vpaid.js file with vpaid-player.js file and VPAID module with VpaidPlayer class
- Replaced tracking-events.js file with tracking.js file and TRACKING_EVENTS module with Tracking class
- Removed undocumented getFullscreen API
New features and enhancements
- Set SIMID support out of BETA (note we only support linear SIMID creatives for now)
- Reduced build size by ~ 5 %
- Updates to hls.js 1.5.6 for displaying HLS creatives
- Updates to Jasmine 5.1.2 for testing
- Updates devDependencies and dependencies to latest
- Adds simid-map test, outstream simid test, adBlockerSpec (requires manual testing)
Bug fixes
- Fixes an issue where linear creative with no MediaFiles could pass filtering and cause playback error
13.2.0
- adds forceUseContentPlayerForAdsOniOS setting
- updates to OM Web SDK 1.4.12
- updates to hls.js 1.5.4
- updates dependencies
13.1.1
- Removes xr-spatial-tracking from iframe attributes
- getDuration and getCurrentTime and other related methods now return values that are not rounded
13.1.0
- disableRemotePlayback for video ad player on all devices
- updates .browserlistrc
- updates dependencies
13.0.0
- Updates to vast-client-js 5.0.0
- adSlotID property for Companion Ads is now adSlotId
- getAdSurvey now returns an Object with value and type properties
- Adds new test for SIMID
- Drops XBox support
- Adds Android TV 9+ support (Cordova or WebView)
12.0.0
- Adds BETA support for SIMID (linear creatives only)
- Removes some unnecessary code for VPAID ads
11.0.3
- fix a weird bug in vast-client-js - sometimes it returns sequence === null for some items when adpod is made of redirects
11.0.2
- improves transition between ads in an ad pod
- improves test for iOS
11.0.1
- Adds adtagstartloading and adtagloaded events with vastXmlInput setting