Ignore aspect ratio on resizeAd
theifish opened this issue · comments
Now it respects aspect ratio when set width and height with resizeAd (height priority), and it's not possible to fit creative into player's viewport.
Maybe the solution of the issue is to add param to ignore aspect ratio for creatives.
resizeAd is doing 2 resizes, one resizing the flash that is loading the ad, and then forwarding the resize to the ad. Since the ad resize is not controlled by us and we are following the specification
3.1.3 resizeAd()
resizeAd(width : Number, height : Number, viewMode : String) : void
we don't have any way to force the ad to ignore the aspect ratio