![]() |
embed-play megaporn/youtube/etc videos with your own ads - HACK tutorial
Embed or play flash movies from pretty much every site using your own ads in windows media player. All their ads will be disabled.
Windows media player has the ability to play many different files you usually associate with other programs, such as jpg's gif's png's wav's swf and many many others, it can even play websites. The downside of playing flash in windows media player is any page loading is disabled ( i.e. ads ) controls in flash will still work properly ( play stop pause etc ) The best way to display multiple types of files at once is to create a playlist, this also allows you to place a clickable banner below your videos. Using php we can create a simple dynamic playlist from a template. save the following file as player.php SIMPLE VERSION WITH BANNER Code:
<?php now to play any video in your new playlist in media player simply link to yoursite.com/player.php?x=LINK where link is the link in the SRC of the embed code from the video you are linking to. for example the following is a sample embed code from youtube Code:
<object width="425" height="344"><param name="movie" value="https://youtube.com/v/Hsj2MHgG48s&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://youtube.com/v/Hsj2MHgG48s&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object> so for that video the src link would be https://youtube.com/v/Hsj2MHgG48s so to play that video in your player you would link to yoursite.com/player.php?x=https://youtube.com/v/Hsj2MHgG48s here is an example embed code from megaporn Code:
<object width="640" height="480"><param name="movie" value="http://www.megaporn.com/e/F81T0S3D77307cc99c8acfaee53bead0d61a92f0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.megaporn.com/e/F81T0S3D77307cc99c8acfaee53bead0d61a92f0" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="480"></embed></object> so you would link to yoursite.com/player.php?x=http://www.megaporn.com/e/F81T0S3D77307cc99c8acfaee53bead0d61a92f0 when you link to a video it will open windows media player automatically or you can embed your dynamic video using the following code. example code ( pay close attention to how link is set just as above ) [code] <object width="640" height="480"><param name="movie" value="http://yoursite.com/player.php?x=http://www.megaporn.com/e/F81T0S3D77307cc99c8acfaee53bead0d61a92f0"></param><param name="allowFullScreen" value="true"></param><embed src="http://yoursite.com/player.php?x=http://www.megaporn.com/e/F81T0S3D77307cc99c8acfaee53bead0d61a92f0" type="video/x-ms-wvx" allowfullscreen="true" width="640" height="480"></embed></object> [code] heres 2 links to the script in action ( requires windows media player ) YOUTUBE EXAMPLE MEGAPORN EXAMPLE |
I'd love to see it in action but I'm on a Mac :(
|
I love your hacks...
|
the megarotic one still has their dating ad on it with the clickable link, but wow.. what a fucking awesome hack.. great job as usual.
|
you can also play a picture in your player , complete with banner in windows media player
example http://ytmnd.webspacemania.com/megap...eams/Emily.jpg |
Quote:
|
|
dude looks awesome bookmarked this thanks
|
now i am not suggesting blatantlly ripping people off but you can use this tool for you and them
the last link i posted was for a live cam feed to needlive ( see sig ) you can use this to drive traffic to the sponsor by allowing a surfer to "save" the video , like if you save the link above to your dekstop it saves as a video , surfer can save to his desktop and see a live cam model everyday without even opening his/her browser, if they want to buy minutes they click your banner try "save as" the following link http://ytmnd.webspacemania.com/megap...omoplay010.swf Megaporn has full length videos from sponsors who dont seem to mind , yet these sponsors dont give me the same full length videos to promote them with , so you can link to a megaporn video from nastydollars and link back to the real sponsor with your banner |
while you are on the subject of megaporn, heres some code to actually download a video from the site
PHP Code:
|
p.s. you can "save as " any of the links, even the youtube ones , it saves as a video on your computer , so you dont have to load youtube and your favourites each time , simply save the video , it takes up no space because its simply a shortcut in video form
|
Quote:
|
Cool shit, bookmarking this thread :)
|
just tried it on one of my sites. worked like a charm. thanks a lot!
|
nice hack buddy..
|
Quote:
|
SmokeyTheBear for President in 2012!
|
GFY thread of 2009 so far.
|
Smokey knows his shit.nice trick
|
Hahaha fucking awesome smokey!
|
I'm sure this shit was posted at least last year ago ...
|
nice hack but it would be perfect if it could disable all megaporn or youtube inscreen features
, im afraid i would promote more megaporn or youtube then anything else |
Quote:
Not embed, but hotlink. Smart people have been doing it for years...... |
nice hack, but i have GOM player for all formats to open and won't load in GOM player anything.
|
Quote:
|
Quote:
|
opens wmp on all urls for me
|
Quote:
|
Does it only work with WMP 10 or higher?
I have WMP 9 here on a PC and it doesn't work. (Just keeps replaying the big banner with arrows to the small banner, but not the actual video) |
Quote:
Especially since they started getting serious with encrypting their players. |
Great thread & hack Smokey!
|
All times are GMT -7. The time now is 06:57 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc