Currently, I am working on creating HTML5 banner ads for Google AdWords using CSS animations. One challenge I have encountered is that due to the time restrictions of 30 seconds for animations in each ad, users may not always see all stages of the animation.
I am curious if there is a method to determine the viewport of the parent window, even if it is from a different domain, in order to trigger the animations in my ad's CSS/JS code only when they are actually visible to the user?
Any assistance on this matter would be greatly appreciated! Thank you!