View Single Post
Old 12-05-2007, 08:26 PM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
if you want something with some flair, heres another way ..

what this will allow you to do is embed a movie with a clickable banner inside it , it will also allow others to hotlink your video with your ad on the video. Additionally u can thwart direct hotlinking of the video.

heres what you do ..

save the following as p1.wvx

Code:
<ASX version = "3.0" bannerbar="fixed">
 <ABSTRACT>Bad Hotdog</ABSTRACT>
   <TITLE>bad bad hotdog</TITLE>
  <AUTHOR>Smokey The Bear</AUTHOR>
<Entry>
<Banner href="http://abanner.com/banner.gif">
<MoreInfo href = "http://bannerlink.com" />
<Abstract>Click Here</Abstract>
<Ref href = "http://video.com/p2.wvx" />
   </Entry>
<COPYRIGHT>2007 STB</COPYRIGHT>
</ASX>
save the following as p2.wvx

Code:
<ASX version = "3.0" bannerbar="fixed">
 <ABSTRACT>Bad Hotdog</ABSTRACT>
   <TITLE>bad bad hotdog</TITLE>
  <AUTHOR>Smokey The Bear</AUTHOR>
<Entry>
<Banner href="http://abanner.com/banner.gif">
<MoreInfo href = "http://bannerlink.com" />
<Abstract>Click Here</Abstract>
<Ref href = "http://video.com/video.wmv" />
   </Entry>
<COPYRIGHT>2007 STB</COPYRIGHT>
</ASX>
the real video url is located in p2.wvx

the part you embed on your site and let people hotlink is p1.wvx

this allows you to change the url of the video anytime you want without having to change the html on your pages or other peoples pages that hotlink the video. This will thwart users who try and directly access the video.

all you do is rename the real video url and change the p2.wvx to reflect the changes.


to embed the p1.wvx use the following html code

Code:
<object id="VIDEO" data="http://yoursite.com/p1.wvx" type="video/x-ms" width="800" height="600">
<param name="src" value="http://yoursite.com/p1.wvx" width="800" height="600">
<PARAM name="uiMode" value="none">
<PARAM name="PlayCount" value="9999">
<PARAM name="id" value="VIDEO">
<PARAM NAME="stretchToFit" VALUE="false">
<PARAM name="Repeat" value="1">
<param name="ShowStatusBar" value="0">
<param name="autoStart" value="true"></object>
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote