Quote:
Originally Posted by Espeacke
Hello All.
Excuse me ,as inserting advertising in these parts of the video.
Greetings.
|
Ads beside video-directory:
- Below is an attachment to see what this does.
- Replace the text in red with your ad code.
- This is designed for ads that are 250x250. Changing the size of the ad would mean you have to change the padding, the area I highlighted in blue.
- I have tested this on FF 3 and Safari, both on Mac. Don't know about the others yet.
Open template "video_details_embed" and replace all of its contents with the following:
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">
<a href="$videourl" target="_blank">$videoinfo[title]</a>
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="alt2" style="float:left; padding-left:40px; padding-top:70px; padding-right:40px; padding-bottom:70px;">
PLACE AD CODE HERE
</div>
<div class="alt1" style="float:left; width:50%; padding-top:5px; padding-bottom:5px;">
<if condition="$canwatchvids">
$embedhtml
</if>
<if condition="!$canwatchvids">
$vbphrase[videos_cant_watch]
</if>
</div>
<div class="alt2" style="float:left; padding-left:40px; padding-top:70px; padding-right:40px; padding-bottom:70px;">
PLACE AD CODE HERE
</div>
</div>
</td>
</tr>
</table>
<br />