# FLVPlayback and Google / Doubleclick Ads

**URL:** <https://forum.kirupa.com/t/flvplayback-and-google-doubleclick-ads/304949>\
**Category:** flash\
**Created:** [February 17, 2010, 1:44am UTC](https://forum.kirupa.com/t/flvplayback-and-google-doubleclick-ads/304949 "2010-02-17T01:44:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![noynek](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@noynek](https://forum.kirupa.com/u/noynek)\
**Post date:** [February 17, 2010, 1:44am UTC](https://forum.kirupa.com/t/flvplayback-and-google-doubleclick-ads/304949/1 "2010-02-17T01:44:12Z")

</div>

I’m working on a video player that displays Google DoubleClick ads using their AS3 component for an FLVPlayback: [http://code.google.com/apis/in-stream/docs/components/flashas3.html](http://code.google.com/apis/in-stream/docs/components/flashas3.html)

It’s supposed to be trivial to work with their component, but it’s been a huge pain. I’m running into a problem where the player stops sending events both during and after an ad has been displayed. Unfortunately, I don’t have much insight into what’s happening because the DoubleClick component is designed for simple drag and drop functionality. However, the order is something like this:

[LIST=1]  
[_]video loads - events are firing  
[_]ad loads and takes focus - depending on the ad, sometimes the player events fire other times they dont. Basically everything gets messed up.  
[_]ad completes and original video is displayed - things start acting weird like events not firing.  
[_]If I load another video, then things work again. Events fire as expected.  
[/LIST]  
Basically, the DoubleClick component seems to break stuff. Interestingly, if I refresh the page without clearing my cache, the events fire fairly reliably (50% of the time).

This is a shot-in-the-dark, but can anyone make any sense of what might be happening here?

Thanks.
