14.0.0
radiantmediaplayer
released this
24 Feb 09:13
·
12 commits
to master
since this release
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