This tutorial will teach you how to add popups or banners to external videos on the fly ( VERY EASY)
If you find this tutorial usefull/rewarding please contact me on icq for other tips or if you just wanna give me a small donation for the information.
lets say i have a video www.juggsforever.com/bgb/25/1.mpg
i want to add some advertising ( maybe my ref code ) and/or a popup onto the video and display it on my site..
2 very simple steps.
First make a directory on your site lets call it "vload" for this tutorial
so it should look like yoursite.com/vload/
inside make a new file called index.php and inside of it place the following code
now open notepad save the following code as .htaccess and upload to the same directory
were done .
to use it you simply insert the real video link into your link as follows ( with the video above as an example )
<embed src=http://yoursite.com/vload/www.juggsforever.com/bgb/25/1.mpg.wmv>
notice the double extenson .mpg.wmv this is not a typo
to test it quickly on a live website you can go here
http://www.w3schools.com/tags/tryit....me=tryhtml_sup
embed the following code of an example i setup for the video above
<embed src=http://ytmnd.webspacemania.com/asx/www.juggsforever.com/bgb/25/1.mpg.wmv>
and you will see an advertisement on the end built in flash , you can add popups to the flash video if you also require popups on the end of the video
below i will describe a little more detail of the layout of the index.php , you will notice several parts that are obvious , title etc, but of course you want to know how to edit the ad. The advertisement is built in flash , you will notice the line ytmnd.webspacemania.com/amc/amc2.swf?ref=112233&tour=37&site=23&pps=2&camp=" that is where you specify your own flash advertisement
you will also notice a few other elements..
"Banner href"
and
"Moreinfo href"
these arent displayed in the regular context of a browser without proper embed code but may be displayed if the video is accessed directly so you might as well supply them
the banner ref will point to a gif or jpg banner 32 pixels high , the link points to the link the banner should go to ( in the example its a bit confusing as im pointing to a random image not a static one but you would place a static image link where it says banner href
If you have any questions feel free to ask
p.s. DO NOT HOTLINK WITHOUT PERMISSION OR CREDIT
If you find this tutorial usefull/rewarding please contact me on icq for other tips or if you just wanna give me a small donation for the information.
lets say i have a video www.juggsforever.com/bgb/25/1.mpg
i want to add some advertising ( maybe my ref code ) and/or a popup onto the video and display it on my site..
2 very simple steps.
First make a directory on your site lets call it "vload" for this tutorial
so it should look like yoursite.com/vload/
inside make a new file called index.php and inside of it place the following code
Code:
<ASX version = "3.0">
<ABSTRACT>Smokey The Bear</ABSTRACT>
<TITLE>Smokey Bear</TITLE>
<AUTHOR>Smokey The Bear</AUTHOR>
<COPYRIGHT>2006 STB</COPYRIGHT>
<Entry>
<Banner href="http://ytmnd.webspacemania.com/acm/">
<MoreInfo href = "http://amc3.adultmegacash.com/hit.php?s=23&p=2&w=112233&t=37&c=" />
<Abstract>Click Here</Abstract>
</Banner>
<Ref href = "http://<?php echo $v ?>" />
</Entry>
<Entry>
<Banner href="http://ytmnd.webspacemania.com/acm/">
<MoreInfo href = "http://amc3.adultmegacash.com/hit.php?s=23&p=2&w=112233&t=37&c=" />
<Abstract>Click Here</Abstract>
</Banner>
<Ref href = "http://ytmnd.webspacemania.com/amc/amc2.swf?ref=112233&tour=37&site=23&pps=2&camp=" />
</Entry>
</ASX>
Code:
rewriteengine on rewriterule ^(.*)\.wmv$ http://yoursite.com/vload/?v=$1 [nc]
to use it you simply insert the real video link into your link as follows ( with the video above as an example )
<embed src=http://yoursite.com/vload/www.juggsforever.com/bgb/25/1.mpg.wmv>
notice the double extenson .mpg.wmv this is not a typo
to test it quickly on a live website you can go here
http://www.w3schools.com/tags/tryit....me=tryhtml_sup
embed the following code of an example i setup for the video above
<embed src=http://ytmnd.webspacemania.com/asx/www.juggsforever.com/bgb/25/1.mpg.wmv>
and you will see an advertisement on the end built in flash , you can add popups to the flash video if you also require popups on the end of the video
below i will describe a little more detail of the layout of the index.php , you will notice several parts that are obvious , title etc, but of course you want to know how to edit the ad. The advertisement is built in flash , you will notice the line ytmnd.webspacemania.com/amc/amc2.swf?ref=112233&tour=37&site=23&pps=2&camp=" that is where you specify your own flash advertisement
you will also notice a few other elements..
"Banner href"
and
"Moreinfo href"
these arent displayed in the regular context of a browser without proper embed code but may be displayed if the video is accessed directly so you might as well supply them
the banner ref will point to a gif or jpg banner 32 pixels high , the link points to the link the banner should go to ( in the example its a bit confusing as im pointing to a random image not a static one but you would place a static image link where it says banner href
If you have any questions feel free to ask
p.s. DO NOT HOTLINK WITHOUT PERMISSION OR CREDIT





Comment