Closed florevallatmrf closed 6 years ago
@florevallatmrf nice to see people using safe frames :tada: . Have you encountered any other issues with prebid and safe frames so far?
No, we haven't used them in production yet, for now the resizing has been my biggest pain!
Thanks for sharing @florevallatmrf :hugs: We haven't rolled out any safe frames as well, because we are very uncertain how advertisers react (especially with cookie syncing, etc.).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bug
Description
When using the secure creative flow, the creative resizing works only when the browser is in quirks mode (ie without a
<!DOCTYPE html>
at the beginning of the document).Steps to reproduce
Test page
JSFiddle showing the resize not working: http://jsfiddle.net/florevallatmrf/z89nwvbp/ Unfortunately JSFiddle always adds a
doctype
to the result, so I can't provide a link of it working without it.Expected results
The slot (both containing div and safeframe) should resize.
Actual results
The slot stays as a 1x1 block.
Platform details
Prebid v1.23.0 Tested in Chrome 68 & Safari 11.
Other information
We changed this in our fork of Prebid, I will open a Pull request on this side too.