This is a message.

flowplayer simple installation doesn"t work on webserver Created Dec 29, 2010

This thread is solved

Views: 7567     Replies: 22     Last reply Aug 3, 2011  
You must login first before you can use this feature

marjolein

Posts: 12

Registered:
Dec 29, 2010

flowplayer simple installation doesn"t work on webserver

Posted: Dec 29, 2010

I installed flowplayer 3.2.5 on my computer and the example worked fine, but when I install the same files on a webserver I only have a black box and no video starts. I also don't see an error messsage. Can anyone tell me how to solve this problem? Thank you so much!

skenderbeg

Posts: 6

Registered:
Oct 4, 2010

Re: flowplayer simple installation doesn"t work on webserver

Posted: Jan 6, 2011

Reply to: flowplayer simple installation doesn"t work on webserver, from marjolein
When I had this issue, the flowplayer SWF object would not instantiate due to invalid parameters (I misspelled expressInstall). If you can post your embed script(s), and make sure your videos are available outside your firewall, it will help in debugging your problem.

Cheers,
Skender

marjolein

Posts: 12

Registered:
Dec 29, 2010

» Re: flowplayer simple installation doesn"t work on webserver

Posted: Jan 7, 2011

Reply to: Re: flowplayer simple installation doesn"t work on webserver , from skenderbeg
Thank you so much!
Yesterday, it started to work when I was experimenting with the ipad plugin (it even work on a ipad...). I guess I had the same problem you had.

marjolein

Posts: 12

Registered:
Dec 29, 2010

the black box is still there

Posted: Jan 11, 2011

Reply to: » Re: flowplayer simple installation doesn"t work on webserver , from marjolein
I'm getting really confused right now!

I downloaded the files for the minimal flowplayer setup. I unzipped the files and copied them to my webserver. The minimal setup is only working when I use flowplayer-3.2.5.swf located onhttp://releases.flowplayer.org/swf/. The moment I change to the normal setup (flowplayer-3.2.5.swf on my webserver) I only see a black box. It is probably something stupid that I don't see, hopefully someone knows what I'm doing wrong??

The minimal flowplayer setup is installed at:
http://www.noorkamerbeek.nl/flowplayer/example/index.html

PaulNF

Posts: 6

Registered:
Jan 11, 2011

» the black box is still there

Posted: Jan 13, 2011

Reply to: the black box is still there, from marjolein
I've got exactly the same problem.
Do you have an issue ?

PaulNF

Posts: 6

Registered:
Jan 11, 2011

» the black box is still there

Posted: Jan 14, 2011

Reply to: the black box is still there, from marjolein
Marjolein,
I think you solve your problem.
What was the problem ?

http://mouzet.com/test123/example/index.html

(only working with firefox.)

albert@elixismedia.com

Posts: 1

Registered:
Jan 4, 2011

We have the same problem

Posted: Jan 15, 2011

Reply to: flowplayer simple installation doesn"t work on webserver, from marjolein
please advise on how to fix this..

:(

chrizzle

Posts: 2

Registered:
Jan 16, 2011

same problem here

Posted: Jan 16, 2011

Reply to: We have the same problem, from albert@elixismedia.com
Same problem here, ive looked everywhere for an answer
As soon as i want te use the flowplayer-3.2.5.swf from my site it doesnt work anymore.

flowplayer-3.2.5.swf my server:
http://promotionvideo.nl/example/index.html
<script> flowplayer("player", "flowplayer-3.2.5.swf"); </script>

doesnt work!

flowplayer-3.2.5.swf example server:
http://promotionvideo.nl/example2/index.html
<script> flowplayer("player", http://releases.flowplayer.org/swf/flowplayer-3.2.5.swf"); </script>

works!

Is this problem server related or am I missing something?
I want to use flowplayer and the overlays for for a video website because it looks good. i'd realy like to buy some commercial versions but for now i cant get it to work propperly.

The video is a bit big sry about that.

marjolein

Posts: 12

Registered:
Dec 29, 2010

» same problem here

Posted: Jan 17, 2011

Reply to: same problem here, from chrizzle
I hope that someone can solve our problem. I'm glad I'm not the only one having this issue!
I also think this problem is somewhere server related. When I install the example files on my (local) computer everything is working fine....

I'm building a website for a musician with Zenphoto. Zenphoto has a flowplayer plugin. This website will contain, besides a lot of pictures, also audio and video material. So, it is very important for me to have the flowplayer plugin working correctly.

chrizzle

Posts: 2

Registered:
Jan 16, 2011

a solution

Posted: Jan 18, 2011

Reply to: » same problem here, from marjolein
I now just use the player from the example server and that works fine:http://releases.flowplayer.org/swf/flowplayer-3.2.5.swf

www.take3video.nl
Site isn't ready tho but the player and overlay work.

Still it's not right to use the player from another site. If anything changes on that sever my video's won't play.

But this might help you while we wait for a better sollution :)

paquitou

Posts: 5

Registered:
Jan 21, 2011

Possible solution

Posted: Jan 21, 2011

Reply to: » same problem here, from marjolein
I was having the same problem. Searching for a solution, I found this enlightening thread:

http://flowplayer.org/forum/1/40606

It led me to do two things:

1) I added the file "flowplayer.controls-3.2.3.swf" in the same folder (site root) as "flowplayer-3.2.5.swf". It just was not obvious (at least to me) that this file is actually needed, because the basic installation example does not mention it.

2) The aforementioned thread convinced me to rename the files (bug linked to the numbers in the files' names, apparently). So now I have "flowplayer.swf" and "flowplayer.controls.swf".

And it works!

Hope this will help.

paquitou

Posts: 5

Registered:
Jan 21, 2011

Possible solution (amended)

Posted: Jan 22, 2011

Reply to: Possible solution, from paquitou
Did a few more tests. Turns out it works just fine with the file names left alone ("flowplayer-3.2.5.swf" and "flowplayer.controls-3.2.3.swf", both in root site directory).

So the real issue for me was the absence of the "flowplayer.controls-3.2.3.swf" file, and also the fact that when tested on the local computer instead of the remote server, Flash security parameters can block the process, leaving one with a black screen. It makes it confusing to test and run...

Hope this helps.

marjolein

Posts: 12

Registered:
Dec 29, 2010

» Possible solution (amended)

Posted: Jan 23, 2011

Reply to: Possible solution (amended), from paquitou
I renamed the flowplayer-3.2.5.swf file to flowplayer.swf and flowplayer.controls-3.2.3.swf to flowplayer.controls. I put all the files in the same folder on my fileserver (so now I have both swf-files, flowplayer-3.2.4.min.js, my flv-file and index.html in the same folder on my webserver.

But this all doesn't help much: I still have the black box when I use flowplayer.swf on my server. When I usehttp://releases.flowplayer.org/swf/flowplayer-3.2.5.swf in my script instead of the flowplayer.swf on my server it's working. So I still have the same problem with this simple install! When I try this example locally (with all the files on my computer) it's also working.

See also:http://www.noorkamerbeek.nl/flowplayer/example

paquitou

Posts: 5

Registered:
Jan 21, 2011

Possible solution (follow-up)

Posted: Jan 23, 2011

Reply to: » Possible solution (amended), from marjolein
Hello Marjolein,

I looked at your example:
http://www.noorkamerbeek.nl/flowplayer/example
Indeed, nothing plays.

But the strange thing is when I try to access your video directly:
http://www.noorkamerbeek.nl/flowplayer/example/test2.flv
I do not get a download window but just the raw data on my screen...

Yet your FLV file must be OK since you say it plays fine on your own computer. But there must be something there, as I can always download FLV files directly when I enter their full paths in my browser, but somehow not yours (and this has nothing to do with Flowplayer)...

Maybe you could try with a different FLV to make sure it's OK (the same one that is used for the Flowplayer example, for instance)? Just a suggestion...

Good luck!

Christian Ebert
Flowplayer support

Posts: 3024

Registered:
May 27, 2008

» Possible solution (follow-up)

Posted: Jan 23, 2011

Reply to: Possible solution (follow-up), from paquitou
Check whether gzipping of swf files is disabled on the server. It should be.

test2.flv should be ok, it plays when you access it with a desktop player.

marjolein

Posts: 12

Registered:
Dec 29, 2010

» » Possible solution (follow-up)

Posted: Jan 23, 2011

Reply to: » Possible solution (follow-up), from blacktrash
Can you please let me know how I can check this? If gzipping is enabled how can I disable it?
Thank you so much!

paquitou

Posts: 5

Registered:
Jan 21, 2011

Possible solution (follow-up)

Posted: Jan 23, 2011

Reply to: » » Possible solution (follow-up), from marjolein
These two threads might help if gzipping is indeed the issue:

http://flowplayer.org/forum/1/34744
http://flowplayer.org/forum/1/41284

Good luck!

marjolein

Posts: 12

Registered:
Dec 29, 2010

» Possible solution (follow-up)

Posted: Jan 23, 2011

Reply to: Possible solution (follow-up), from paquitou
Thank you!
I found some info about disabling gzip in my server's FAQ. I added the following lines to my .htaccess:

SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI .avi$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .mov$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .mp3$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .mp4$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .rm$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .swf$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .flv$ no-gzip dont-vary

In Firefox and Safari the video is playing now! Only in IE it's still a black box. Any ideas?

paquitou

Posts: 5

Registered:
Jan 21, 2011

Possible solution (follow-up)

Posted: Jan 23, 2011

Reply to: » Possible solution (follow-up), from marjolein
Look up the following solution found on this page:

http://www.thatagency.com/design-studio-blog/2010/08/making-flowplayer-swf-files-play-in-ie-where-gzip-is-enabled/

By the way, I don't think you need to disable gzip for other file formats, just swf. You may actually slow things down unnecessarily for other media...

Hope this helps.

Christian Ebert
Flowplayer support

Posts: 3024

Registered:
May 27, 2008

» » Possible solution (follow-up)

Posted: Jan 23, 2011

Reply to: » Possible solution (follow-up), from marjolein
Might be some IE security settings? It plays fine here in an ancient IE6.

And, yes, indeed you only need to disable gzipping of swf files.

marjolein

Posts: 12

Registered:
Dec 29, 2010

It""s working!!

Posted: Jan 24, 2011

Reply to: » » Possible solution (follow-up), from blacktrash
Hello Blacktrash and Paquitou,

Thank you so much for all your help!

I replaced the lines in my .htaccess with the code mentioned at

http://www.thatagency.com/design-studio-blog/2010/08/making-flowplayer-swf-files-play-in-ie-where-gzip-is-enabled/

I don't know why, but now it's working also in IE 8.0 (I'm using all the default security settings by the way).

Christian Ebert
Flowplayer support

Posts: 3024

Registered:
May 27, 2008

» It""s working!!

Posted: Jan 24, 2011

Reply to: It""s working!!, from marjolein
The gzipped version was probably still in IE's cache.

Anyway, great that you got it working. Marking this thread as solved.

victor d

Posts: 3

Registered:
Aug 3, 2011

The following code worked for me...sharing for ppl who are still struggling...this might help

Posted: Aug 3, 2011

Reply to: » It""s working!!, from blacktrash
<script type="text/javascript" src="flowplayer-3.2.6.min.js"></script>
<script type="text/javascript" src="flowplayer.ipad-3.2.2.min.js"></script>

<script type="text/javascript">$f("ipad", "flowplayer-3.2.5.swf", {
clip:
{
autoPlay: false,
autoBuffering: true
},
canvas:
{
backgroundColor: "#909090"
},
plugins:
{
controls:
{
//custom colors for the controls
backgroundColor: '#00000',
bufferColor: '#ffffff',
progressColor: '#909090',
timeColor: '#909090',
durationColor: '#ffffff',
buttonColor: '#ffffff',
volumeSliderColor: '#fffff'
}
}
}).ipad();

</script>