googleads / videojs-ima

IMA SDK Plugin for Video.js
Apache License 2.0
450 stars 284 forks source link

Responsive player renders ad in wrong position #1002

Closed stehag closed 3 years ago

stehag commented 3 years ago

Using the player with this:

.video-js { padding-top: 56.25% } player.fill(true);

to make it responsive, ads looks good mobile, but on desktop itlooks like this: image

Is there any way to make the ad "stick" so i can debug css in browser? Or any other ideas how to resolve this?

Kiro705 commented 3 years ago

Hello @stehag ,

In our advanced sample it is possible to pause the player during linear ads, during which time the ad will always be visible. Would this solution work for you, to be able to style the page?

Thank you, Jackson IMA SDK Team