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

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

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>
Thank you for your suggest, beachme
However, this code only works for few hours, after that, the code changed or deleted automatically.

could you find out any other method which could play the video permanently?
I will greatly appreciate it

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.

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 =)

<?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;
}
?>
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

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;
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

You cant play wmv with an flv player.

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

Thank you for your help , AJAX and beachMe
I figure it out already

Hello again,
the script does not work no more, I think they changed it because of me.
Anyone figure it out a new way ?

Check this thread [url=http://www.jeroenwijering.com/?thread=5484]TRYING TO STREAM YOUTUBE VIDEOS[/url]

go to http://skapaid.webs.com
and mail them a comment
they can do it for sure!!!

i need more this isnt enough for me

informative and very interesting, thanks for sharing ideas gentlemen :) www.sabetsu.com
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=<strong>http%3A%2F%2Fliveu-s-43.vo.llnwd.net%2Fyourfilehost%2Funit1%2Fflash8%2F70%2F70f66f4a523c82837cd9f792f8ab10eb.flv%3Fe%3D1204002000%26rs%3D50%26ri%3D768%26h%3D9087405f9ad377e715ea7ac0b899e8d9</strong>&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');