SmokeyTheBear |
08-07-2009 09:22 PM |
i have a simple method that will also generate revenue without having to alter existing links/code much.
Most flv players will also play playlists even if the extension is flv. using playlists you can insert ads or promo clips after or before the video.
example
lets say your flvs are in http://mysite.com/videos/sample1.flv
and your embed code is like http://mysite.com/myplayer.swf?file=...os/sample1.flv
first change the flv folder to "secret"
then remake the flv folder and drop in this htaccess
Code:
RewriteEngine on
RewriteRule ^(.*)\.flv index.php?x=$1 [nc]
then make an index.php and place the following inside it ( dynamic playlist creator )
Code:
<?php
header('Cache-Control: no-cache, must-revalidate');
header('Content-type: video/x-ms-asf');
$x = $_GET['x'];
?>
<asx version="3.0">
<title>title</title>
<entry>
<title>title</title>
<author>SmokeyTheBear</author>
<abstract>Hello World</abstract>
<moreinfo href="http://sponsorlink.com" />
<ref href="http://mysite.com/secret/<?php echo $x; ?>.flv" />
</entry>
<entry>
<title>an ad after the video</title>
<author>SmokeyTheBear</author>
<abstract>Hello World</abstract>
<moreinfo href="http://sponsorlink.com" />
<ref href="http://mysite.com/promoclip.flv" />
</entry>
</asx>
so now when they hotlink your flv they will be hotlinking your playlist with ad and promoclip
now lets say they are smart and read the playlist to find the secret flv folder, no problem , just rename the master flv folder and change the path in the index.php in one simple place every so often and they will be thwarted. :)
|