Feb. 25, 2008Roy
Hello,
If anyone could figure it out how to embed the Yourfilehost's video into JW player, I will pay US$50 for that.
contact: eroychiu@gmail.com
Feb. 25, 2008beachMe
Jeeezzzzz man, $50 doesn't buy me enough Coronas.
Just find this line in media.php and yank out everything between videoembed_id= and &search_url=<embed src="http://www.yourfilehost.com/flash/flvplayer5-inline-ad.swf?autoStart=1&no_skin_menu=1&video=http%3A%2F%2Fwww.yourfilehost.com%2Fvideo-embed.php%3Fvidlink%3D%26cid%3D70f66f4a523c82837cd9f792f8ab10eb%26adult%3D%26cat%3Dvideo%26file%3Dcrosswind_landing_klm.flv%26family%3Don&videoembed_id=http%3A%2F%2Fliveu-s-43.vo.llnwd.net%2Fyourfilehost%2Funit1%2Fflash8%2F70%2F70f66f4a523c82837cd9f792f8ab10eb.flv%3Fe%3D1204002000%26rs%3D50%26ri%3D768%26h%3D9087405f9ad377e715ea7ac0b899e8d9&search_url=http%3A%2F%2Fwww.flurl.com%2Fsearch%3F1%26site_id%3D147&src_ip=&postroll=0" menu="false" quality="high" bgcolor="#ffffff" width="100%" height="100%" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
Then use it like this:s1.addVariable('file', 'http%3A%2F%2Fliveu-s-43.vo.llnwd.net%2Fyourfilehost%2Funit1%2Fflash8%2F70%2F70f66f4a523c82837cd9f792f8ab10eb.flv%3Fe%3D1204002000%26rs%3D50%26ri%3D768%26h%3D9087405f9ad377e715ea7ac0b899e8d9');
s1.addVariable('type', 'flv');
Feb. 26, 2008beachMe
Then use it in a playlist like this:<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<creator>Me</creator>
<title>Yourfilehost</title>
<info>URL</info>
<trackList>
<track>
<creator>Yourfilehost</creator>
<title>Drunk Chick Owned</title>
<location>Yourfilehost_Redirect.php?url=http://www.yourfilehost.com/media.php?cat=video&file=drunk_chick_at_indy.flv</location>
<image>Drunk Chick.jpg</image>
</track>
<track>
<creator>Yourfilehost</creator>
<title>Bike Stunt On Public Road</title>
<location>Yourfilehost_Redirect.php?url=http://www.yourfilehost.com/media.php?cat=video&file=bike_stunt_gone_wrong.flv</location>
<image>Bike Stunt On Public Road.jpg</image>
</track>
<track>
<creator>Yourfilehost</creator>
<title>Ghost Driving</title>
<location>Yourfilehost_Redirect.php?url=http://www.yourfilehost.com/media.php?cat=video&file=brazil_ghost_driving.flv</location>
<image>Ghost Driving.jpg</image>
</track>
<track>
<creator>Yourfilehost</creator>
<title>Sexy Ass Jeans</title>
<location>Yourfilehost_Redirect.php?url=http://www.yourfilehost.com/media.php?cat=video&file=sexy_ass_jeans.flv</location>
<image>Sexy Ass Jeans.jpg</image>
</track>
<track>
<creator>Yourfilehost</creator>
<title>Car Trouble</title>
<location>Yourfilehost_Redirect.php?url=http://www.yourfilehost.com/media.php?cat=video&file=car_trouble.flv</location>
<image>Car Trouble.jpg</image>
</track>
</trackList>
</playlist>
Feb. 26, 2008Roy
Thank you for your suggest, beachme
However, this code only works for few hours, after that, the code changed or deleted automatically.
Feb. 26, 2008Roy
could you find out any other method which could play the video permanently?
I will greatly appreciate it
Feb. 26, 2008beachMe
However, this code only works for few hours, after that, the code changed or deleted automatically.That is not correct. I made that playlist yesterday and it still works today 24 hours later.
As long as the video is linked to a URI like this: http://www.yourfilehost.com/media.php?cat=video&file=short_takeoff_and_landing.flv at Yourfilehost, it will play from a playlist or a single video directly from the player code, like this:so.addVariable('file', encodeURIComponent('Yourfilehost_Redirect.php?url=http://www.yourfilehost.com/media.php?cat=video&file=short_takeoff_and_landing.flv'));
The only problem with that site, is that most of the videos are in WMV format, which won't play in the JW FLV Media Player.
Feb. 27, 2008
Hello BeachMe,
Thank you for your replying.
I only tested the first method you told me to insert the line in media.php between videoembed_id= and &search_url=.
Could you please tell me more about the script of "Yourfilehost_Redirect.php"?
thank you for your patent, I am a newbies to PHP and flash =)
Feb. 27, 2008AJAX
<?php
// call with: Yourfilehost_Redirect.php?url=http://www.yourfilehost.com/media.php?cat=video&file=crosswind_landing_klm.flv
$page_url = (isset($_GET["url"])) ? strval($_GET["url"]) : "http://www.yourfilehost.com/media.php?cat=video";
$filename = (isset($_GET["file"])) ? strval($_GET["file"]) : "file=crosswind_landing_klm.flv";
$page = @file_get_contents($page_url . '&file=' . $filename);
if(preg_match('/videoembed_id=(.*?)&search_url=/', $page, $match))
{
$url = urldecode($match[1]);
header("Location: $url");
exit;
}
?>
Feb. 27, 2008
Hello AJAX,
I am trying to make it work for video in WMV format,
In Yourfilehost_Redirect.php, is it possible to fetch the exact code between videoembed_id= and &search_url=
return it like:
http%3A%2F%2Fliveu-s-43.vo.llnwd.net%2Fyourfilehost%2Funit1%2Fflash8%2F70%
2F70f66f4a523c82837cd9f792f8ab10eb.flv%3Fe%3D1204002000%26rs%3D50%26ri%
3D768%26h%3D9087405f9ad377e715ea7ac0b899e8d9
Feb. 27, 2008AJAX
Comment out (with "//" ) or delete the urldecode() and the redirect and add a print statement, like this: // $url = urldecode($match[1]);
// header("Location: $url");
print $match[1];
exit;
Feb. 27, 2008
Thanks, I still can't play the video by putting the following code
so.addVariable('file', encodeURIComponent('Yourfilehost_Redirect.php?url=http://www.yourfilehost.com/media.php?cat=video&file
=head_on_collision_biker_vs_car.wmv'));
I am little confusing ...Could you please give me full code which works for playing Yourfilehost's .WMV video
Feb. 27, 2008AJAX
You cant play wmv with an flv player.
Feb. 27, 2008
In Yourfilehost_Redirect.php,
how could you return the $match[1]
http%3A%2F%2Fliveu-s-43.vo.llnwd.net%2Fyourfilehost%2Funit1%2Fflash8%2F70%
2F70f66f4a523c82837cd9f792f8ab10eb.flv%3Fe%3D1204002000%26rs%3D50%26ri%
3D768%26h%3D9087405f9ad377e715ea7ac0b899e8d9
into here
s1.addVariable('file', 'http%3A%2F%2Fliveu-s-43.vo.llnwd.net%
2Fyourfilehost%2Funit1%2Fflash8%2F70%2F70f66f4a523c82837cd9f792
f8ab10eb.flv%3Fe%3D1204002000%26rs%3D50%26ri%3D768%26h%3D90
87405f9ad377e715ea7ac0b899e8d9');
print $match[1];
did not return anything, right?
Should I put something like
s1.addVariable("file","<?php echo $match[1]?>");
Thank you
Feb. 27, 2008
Thank you for your help , AJAX and beachMe
I figure it out already
Mar. 03, 2008Roy
Hello again,
the script does not work no more, I think they changed it because of me.
Anyone figure it out a new way ?
Mar. 03, 2008frameBYframe
Check this thread [url=http://www.jeroenwijering.com/?thread=5484]TRYING TO STREAM YOUTUBE VIDEOS[/url]
Apr. 01, 2008the kid
go to http://skapaid.webs.com
and mail them a comment
they can do it for sure!!!
Feb. 15, 2009wayne
have a look here:
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
http://www.neobux.com/?rh=796F747461626967
Apr. 22, 2009johan
i need more this isnt enough for me
Jul. 01, 2009lediana
Thanks for the suggestion, I wish it had worked.
[url=http://creditauto.net/][color=#FFFFFF][u]credit auto[/u][/color][/url]
Click here to download a sleek player that plays any AAC, FLV, MP3 or MP4 on your PC -- all without opening a browser!
The free JW Desktop Player is the most entertaining app you’ll download all year.
Clicking the download link starts InstallIQTM, which manages your installation. Learn more.
Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!
If you don’t buy a commercial license, you cannot use a JW Player on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.