This is a message.

Forum user: hesesses

Basic information

Registered Oct 14, 2008
Last login Jan 11, 2010
Forum posts 1
Direct URL http://www.flowplayer.org/forum/users/5774

Latest forum posts

Posts:

Registered:

» Start to buffer next item in play list when current item is fully buffered

Posted: Sep 28, 2009

+1

Posts:

Registered:

Playing videos outside wwwroot?

Posted: Mar 4, 2009

Hi,

Is it possible to play videos outside the wwwroot? I have tried to use php-script for that, but nothing seems to work. Any ideas?

***update***

This works:
clip: {
url: 'test.php'
}

This doesnt:
clip: {
url: 'test.php?video=video.mp4'
}

test.php

$file = "../video.mp4" // this works
$file = "../". $_GET['video']; //reading file outside wwwroot
header("content-type: video/mp4");
readfile($file);

200, Stream not found, NetStream.Play.StreamNotFound, clip: '[Clip] 'test.php?video=video.mp4''