Double click on Youtube Chromeless player for full-screen
I'm trying to add a double-click event to a chromeless player for youtube. This doesn't work, because the player is on top, I guess:
stage.doubleClickEnabled = true;
stage.addEventListener(MouseEvent.DOUBLE_CLICK,fullScreenSwitch);
When I add it to the sprite in which the player is loaded, it works, but then I can't click on the player (to click ads away for example).
Anyone 开发者_如何学Goan idea?
精彩评论