rmp-vast
Open-source client-side JavaScript solution to load, parse and display VAST resources
Implementation example
See source on GitHub
- a
Radiant Media Player
project
Methods (Click "play" to start player)
play
pause
setFullscreen(true)
stopAds()
loadAds(newAdTagUrl)
setMute(true)
setMute(false)
setVolume(0.33)
setVolume(0.66)
setVolume(1)
getAdPaused
getVolume
getMute
getAdTagUrl
getAdMediaUrl
getAdLinear
getAdSystem
getAdUniversalAdId
getAdContentType
getAdTitle
getAdDescription
getAdAdvertiser
getAdPricing
getAdSurvey
getAdAdServingId
getAdCategories
getAdBlockedAdCategories
getAdDuration
getAdCurrentTime
getAdRemainingTime
getAdOnStage
getAdMediaWidth
getAdMediaHeight
getClickThroughUrl
getSkipTimeOffset
getIsSkippableAd
getAdSkippableState
Events
Companion ads