gumgum / gg-ez-vp

Simple video player with minimal setup, intuitive API and straightforward features
https://gumgum.github.io/gg-ez-vp
MIT License
7 stars 4 forks source link

Player won't load VPAID over secure iframes #93

Closed edrpls closed 3 years ago

edrpls commented 3 years ago

The player throws the error GgEzVp [ERR]: TypeError: Cannot read property 'setAttribute' of null when trying to load inside a nested iframe in https://www.google.com/doubleclick/studio

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.google.com/doubleclick/studio
  2. Create an ad demo that uses VPAID over VAST
  3. Open the demo page
  4. See error in the console

Expected behavior The video should play correctly and all beacons should be properly sent.

Desktop (please complete the following information):

Additional context This may happen over any strict iframes, not just in the given URL, but it was first detected there.