Hi, we are trying to implement flowplayer as a desktop player. we also have same problem. We already adjusted security settings but the problem still exist. Does anyone have any ideas?
Forum user: worldpartner
Basic information
| Registered | Dec 31, 2008 |
| Last login | Dec 21, 2009 |
| Forum posts | 4 |
| Direct URL | http://www.flowplayer.org/forum/users/7349 |
Latest forum posts
Hi, we also have same problem. We are trying to implement flowplayer as a desktop player. We already adjusted security settings but the problem still exist. Does anyone have any ideas?
FlowPlayer compatibility with PHP URL Content Passthrough (fpassthru, curl, include)
Posted: Sep 2, 2009
I'm using Amazon S3 as the storage solution for my media files. Since I don't want people to know where I'm getting my files, I use a download.php file to pass through data from S3 to my clients. It's working well for most FLVs (some completely refuse to load), and picture files absolutely do not work.
I initially thought that it was an S3 problem but when I directly linked a file, it worked. Then I decided to try to pass through a non-S3 picture files which I found by Googling around and they didn't work.
I've tried various methods like fpassthru, include, and curl but I can't seem to fix the problem. The download.php loads on my browser perfectly, passing the contents whatever URL I specify, but when loaded onto FlowPlayer, it fails.
Here's a sample of my code (fpassthru):
---
$url = 'http://mysite.com/download.php?id=' . $filename;
$ctype = GetCType($filename);
header("Content-Type: $ctype");
$header="Content-Disposition: attachment; filename=".$filename.";";
header($header);
header("Content-Transfer-Encoding: binary");
$file = fopen($url, 'rb');
fpassthru($file);
fclose($file);
---
I've also tried only using the Content Type header but it still won't work. I've concluded that it's a problem with FlowPlayer, that's why I'm posting it here.
I initially thought that it was an S3 problem but when I directly linked a file, it worked. Then I decided to try to pass through a non-S3 picture files which I found by Googling around and they didn't work.
I've tried various methods like fpassthru, include, and curl but I can't seem to fix the problem. The download.php loads on my browser perfectly, passing the contents whatever URL I specify, but when loaded onto FlowPlayer, it fails.
Here's a sample of my code (fpassthru):
---
$url = 'http://mysite.com/download.php?id=' . $filename;
$ctype = GetCType($filename);
header("Content-Type: $ctype");
$header="Content-Disposition: attachment; filename=".$filename.";";
header($header);
header("Content-Transfer-Encoding: binary");
$file = fopen($url, 'rb');
fpassthru($file);
fclose($file);
---
I've also tried only using the Content Type header but it still won't work. I've concluded that it's a problem with FlowPlayer, that's why I'm posting it here.
Just wondering if by any chance you have been able to get any information since you post ?
Hi there,
The demo onhttp://www.flowplayer.org/plugins/advertising/openx.html
never start playing. After you press "show me" the round animated buffer icon just keep rotating.
I am very eager to learn about the openX integration so it would be great if you can fix this .
thanks,
WP
The demo onhttp://www.flowplayer.org/plugins/advertising/openx.html
never start playing. After you press "show me" the round animated buffer icon just keep rotating.
I am very eager to learn about the openX integration so it would be great if you can fix this .
thanks,
WP