• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Help! before-videoplayer Ad Not Working Properly

Started by videonavy,

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

videonavyTopic starter

Please help! The before-videoplayer ad is not showing. It is hidden under the player. I have put 728x90 ad tag on the page but not showing before the video rather it shows behind the video. Please check any video at http://www.videorib.com/

Thank you.
  •  

PHPVibe A.

Hi, there is no formatting there.
You need to wrap your ad in a div with your own css attached to it.
None of the static spots have formatting.

videonavyTopic starter

Quote from: Alexander on
Hi, there is no formatting there.
You need to wrap your ad in a div with your own css attached to it.
None of the static spots have formatting.

I have done that but no luck. Could you give an example of css referred to? Thanks.
  •  

PHPVibe A.

For example

<div class="block">
ad here
</div>


But since the players are responsive (they change and adapt to page width, it may pull it down due to the height of the container...)

videonavyTopic starter

Quote from: Alexander on
For example

<div class="block">
ad here
</div>


But since the players are responsive (they change and adapt to page width, it may pull it down due to the height of the container...)

No luck! The ad was completely hidden. I tested after player as well but all the same.
  •  

PHPVibe A.

You can move the block out of the video container, I guess it's because it forces a height on player resize.

videonavyTopic starter

Quote from: Alexander on
You can move the block out of the video container, I guess it's because it forces a height on player resize.

Please guide me aright what to do. What exactly should I do?



  •  

PHPVibe A.

I don't have access to the code right now, but in video.php those ads should be rendered somehow like:

_ad('spot-name');


and you can move the function as you please and need.

Similar topics (7)