Jump to content
Search Community

Starting animation when add is in viewport

eminer test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

So I've tried this, 

https://www.google.com/doubleclick/studio/docs/sdk/html5/en/class_studio_Enabler.html

and this,

https://support.google.com/richmedia/answer/2672554?hl=en

 

I dont seem to be able to get the add to load after its in view. The visible function seems to fire off right away even if the add is out of the viewport. Does anybody know how this is done, or if its possible to have an add wait until its in the viewport to animate, thanks and any help would be greatly appreciated.

Link to comment
Share on other sites

Is the visibility function something you are QAing in Doubleclick Studio?

 

The reason I ask is because I would not be surprised if this is something you would not be able to tell if it is working, until the ad is live on a page, after a tag has been created, and the ad is being served by ad software such as DFP.

 

Studio does have a preview function that allows you to preview an ad on a site that you supply the URL for, but I have never gotten it to work for any URL I have provided.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...