NamPNQ / bower-videogular-youtube

Videogular `youtube` plugin repository for distribution on `bower`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Close ads

koz1ma opened this issue · comments

Hi,
When i use this plugin and youtube shows an ads popup( in the bottom of the video), i can't close this ads popup(the x button is disabled). There is a way i can enable this button or a function to close the ads?

Thanks

Maybe there's a layer over the ad, could you try with right-click -> inspect element and take a look if it's an element over the ad?

When i inspect the element he points me to the vg-poster tag.

Could you please post your example?

I want to take a look to it.

ads

when i inspect the ads( i can't select the ads element, just the videogular)

Probably is the poster, could you try removing the poster and trying to close again the ad?

it was the poster. I removed it and now i can close the ads. Thanks

Maybe you can just add a css for vg-poster. Something like

vg-poster { pointer-events: none; }

It should work and vg-poster doesn't need mouse events at all.

pointer-events: none solved the problem with poster. Thanks for the support.

If the vg-poster doesn't need mouse events, dou you have an argument against adding (or let add) this ?

@keckelt I think you're right, probably vg-poster should have pointer-events: none by default and if someone wants to interact with it can just activate it by overriding the css.