You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't appear that during AdMode the currentAd is accessible via the vast or ad classes. Can we make currentAd accessible via player.vast().currentAd() or something along those lines?
Ultimately I'm attempting to check for skipOffset from the <Linear> VAST tag to set the skip timer dynamically and just trigger a skip event from a custom element external to the video player.
The text was updated successfully, but these errors were encountered:
Hi @bryanrite , sorry for very late reply. 3 weeks 😅
I'm not sure if I want to expose currentAd. It's an implementation detail that I might change later.
I want to support the skipOffset.. so created this PR: #52
Does this work for you? or do you still need something custom?
It doesn't appear that during AdMode the currentAd is accessible via the vast or ad classes. Can we make
currentAd
accessible viaplayer.vast().currentAd()
or something along those lines?Ultimately I'm attempting to check for
skipOffset
from the<Linear>
VAST tag to set the skip timer dynamically and just trigger askip
event from a custom element external to the video player.The text was updated successfully, but these errors were encountered: