Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to "preload" Vast Tag without internals force starting it through loadAds() ... break down loadAds() #23

Open
xblabs opened this issue Mar 28, 2020 · 2 comments

Comments

@xblabs
Copy link

xblabs commented Mar 28, 2020

loadAds() does too much and should be broken down into loadAds() and startAds() , loadAds() doing what the name suggest - loading the ad, while startAds() starts the ad.

currently there is no way to preload ads without having the player starting the ad. This has several unwanted side effects. There is currently no way to tap into the internal sequence, let's say after the "adtagloaded" event, and prevent the ad from being started. Even if immediately pausing the ad via pause() after the "adstarted" event , it is not clear if the the impression tracking request has already been submitted, and firing the tracking pixel prematurely is not desirable, if the goal is to postpone ad start after it has loaded.

@radiantmediaplayer
Copy link
Owner

Hi, thanks for the feedback.

Can you describe a production use-case where there is a need to differiente the load part from the start part? The vast majority of cases I have seen in the online ad industry do not require that differentiation.

Thanks
Arnaud

@xblabs
Copy link
Author

xblabs commented Mar 28, 2020

Hi Arnaud, sure. One being latency, being able to control ad load times, especially being affected by multiple waterfall items accumulating a load latency. Showing other content strategically before a precice and controlled ad play. Load must happen before that or at least possibiity to control needs to be granted. Load and play is super super restrictive. Other reason being is that we are bound to VAST 2 mostly still, so, also being agnostic to other ad server intermediaries, custom ad pods need to be built. Here, again coming back to latency, we need freedom to control when to preload another pod slot, e.g. at 75% VTR of current playing item. I could give more reasons but these are the most striking one. I think you get my point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants