PDA

View Full Version : Tired of fighting with FLVplayer :(


bober
04-15-2009, 08:50 AM
I try everything i could imagine, but it doesn't play any movie except flvplayer.flv .
Maybe somebody could give me advice about some other players?
Now I'm trying to include JW player, but have some problems with it (I am not actually a programmer :oops: ). Could someone give me a piece of code with it?

myksa
04-15-2009, 09:29 AM
Hi,

there are two things You have to check:
1. Spot containing flvplayer must have refreshRate set (e.g. refreshRate="25")
2. You have to specify a path relative to pano.swf. In my example I have such configuration:

pano.swf
plugins/flvplayer.swf
video/movie01.flv

I call video by specifying spot url like that:
url="plugins/flvplayer?file=video/movie01.flv" -> video relative to pano.swf, not flvplayer.swf

Hope it helps
Myksa

bober
04-15-2009, 10:14 AM
Now i have this code:

<box id="video" static="1" salign="CC" staticX="300" staticY="200" url="plugins/flvPlayer.swf?file=video/video.flv" refreshRate="20" visible="1"/>

with the structure like in your example, but it doesn't show anything...
Now i can't make it work even with flvplayer.flv . I wonder, if there can be problems with location of files at local computer or on site ?

Virtualguide
04-15-2009, 10:38 AM
I recommend to use Safari for debugging for everyone: just pick "Show menu bar" in wheel symbol upper right, then choose Window>>Activity U can see everything your page tries to load - and those faild also!

Virtualguide
04-15-2009, 10:38 AM
http://www.apple.com/safari/download/
:)

HansNyberg
04-15-2009, 11:24 AM
File path should be relative to flvPlayer.swf folder.
This is the correct
file=../video/video.flv"

Hans

bober
04-15-2009, 11:29 AM
File path should be relative to flvPlayer.swf folder.
This is the correct
file=../video/video.flv"

Hans

Change this, after that put video.flv to the "plugins" folder and change path, still nothing happens.

myksa
04-15-2009, 11:37 AM
Now i have this code:

<box id="video" static="1" salign="CC" staticX="300" staticY="200" url="plugins/flvPlayer.swf?file=video/video.flv" refreshRate="20" visible="1"/>

with the structure like in your example, but it doesn't show anything...
Now i can't make it work even with flvplayer.flv . I wonder, if there can be problems with location of files at local computer or on site ?

salign="CC" - should be salign="CM"
Check also if You have specyfied a valid filename - flvPlayer.swf, maybe it should be flvplayer.swf (with no uppercase)

Myksa

HansNyberg
04-15-2009, 11:41 AM
Change this, after that put video.flv to the "plugins" folder and change path, still nothing happens.

????

The video.flv should of course stay where it is in the video folder. You just had a wrong path definded to it.

Think of it like this.
The flvplayer has to find the video so it looks back to the root ../ and then into the video folder

bober
04-15-2009, 11:56 AM
I recommend to use Safari for debugging for everyone: just pick "Show menu bar" in wheel symbol upper right, then choose Window>>Activity U can see everything your page tries to load - and those faild also!
Great advice, thanks :)
In Safari i see, what it try to load, but for some reasons don't see there my file :(

now i have this code:

<box id="video" static="1" salign="CM" staticX="300" staticY="200" url="plugins/flvplayer.swf?file=../video/video.flv" refreshRate="20" visible="1"/>

and Safari show:
FIS/plugins/flvplayer.swf?file=../video/video.flv 50.2 Kb, so as i think it just opens flvplayer.swf and do nothing more. Anybody have any ideas, why this could happend?
And also, anybody use JW player?

bober
04-15-2009, 11:59 AM
????

The video.flv should of course stay where it is in the video folder. You just had a wrong path definded to it.

Think of it like this.
The flvplayer has to find the video so it looks back to the root ../ and then into the video folder

I understand this, as i write, after this doesn't work, i put video.flv to another folder and change path.

myksa
04-15-2009, 01:05 PM
Can You post a link with a sample?

bober
04-15-2009, 01:35 PM
http://narod.ru/disk/7730209000/Test.zip.html

There is an example of pano, where as I think must be video...

myksa
04-15-2009, 02:01 PM
As I thought it was uppercase problem ;)
You have named Video folder starting with a "V" but in url You have written "v".

So, when You set url param like this it will work fine (it's workinf fine for me)
url="plugins/flvplayer.swf?file=Video/video.flv"

Ad as I was saying file parameter must point flv relative to pano.swf (here example.swf) file, not to flvplayer.swf

Myksa

HansNyberg
04-15-2009, 02:09 PM
Sorry Myksa
Thats not correct.

This is the text from the Readme file for flvPlayer
1. file - file to play (flv format)
File path should be relative to flvPlayer.swf folder.
If "file" is undefined, player tries to load "[player name].flv" file.

Hans

bober
04-15-2009, 02:18 PM
As I thought it was uppercase problem ;)
You have named Video folder starting with a "V" but in url You have written "v".

So, when You set url param like this it will work fine (it's workinf fine for me)
url="plugins/flvplayer.swf?file=Video/video.flv"

Ad as I was saying file parameter must point flv relative to pano.swf (here example.swf) file, not to flvplayer.swf

Myksa

So you make it to work?

HansNyberg
04-15-2009, 02:26 PM
Sorry it looks that you are right Myksa and Denis has written a bug here.

I always keep all my plugins including the pano.swf in the same folder so I did not even think of that Denis should have given wrong information.

Trough is that if you move the pano.swf to the rooth you have to use pathname relative to it instead of the flvPlayer.

Regarding the uppercase it is only if you are on a case sensitive server like Linux.
You can not see that until you upload.

Hans

bober
04-15-2009, 03:32 PM
Thanks, it work !!!

But only in IE :( In Opera/FF I see nothing but invisible boxes... Any ideas?

myksa
04-15-2009, 03:47 PM
Hi,

I was also struggling with flvplayer some time ago, so I knew what I wrote ;)

Regarding uppercase, I'm running Windows XP and movie wasn't playing until I've changed this "V". Windows is not case sensitive, but Flash is, and Flash couldn't load movie from a mistaken path.

So, bober, did it help? Does movie work on Your computer?

Myksa

Trausti Hraunfjord
04-15-2009, 04:54 PM
Case sensitiveness could also be a server side issue. Linux or Windows servers. One or the other is case sensitive.

HansNyberg
04-15-2009, 05:06 PM
I do not believe that xml parameters are case sensitive for flash.
At least they are not on Mac with FPP.

Only if you use Linux or Windows servers but thats not special for flash.

If you are using FPP in Flash with action scripts there is another case.

Hans

bober
04-15-2009, 05:35 PM
Hi,

I was also struggling with flvplayer some time ago, so I knew what I wrote ;)

Regarding uppercase, I'm running Windows XP and movie wasn't playing until I've changed this "V". Windows is not case sensitive, but Flash is, and Flash couldn't load movie from a mistaken path.

So, bober, did it help? Does movie work on Your computer?

Myksa

It doesn't help... What browser do you use? IE doesn't mind 'V' or 'v', Opera doesn't care at all, it just don't work :(

Virtualguide
04-15-2009, 06:06 PM
http://narod.ru/disk/7730209000/Test.zip.html

There is an example of pano, where as I think must be video...

I am not able to dowload it, whatz should I do when I'll come to that web page?
(Ja učilsa russkij jazyk vosem let na osnovnoj skole. Tomu uže mnogo let nazad i ja mnogo zabyl :-) )

I clicked on "skačať" but it just reloaded the page...!? Am I doing something wrong?
Do U have some online example?

myksa
04-15-2009, 06:25 PM
http://odsiebie.com/pokaz/2211221---af10.html

I've uploaded here a version that works fine on two computers (Win XP, firefox 3, IE7).

Does it work anywhere?

Myksa

Virtualguide
04-15-2009, 07:11 PM
http://odsiebie.com/pokaz/2211221---af10.html

I've uploaded here a version that works fine on two computers (Win XP, firefox 3, IE7).

Does it work anywhere?

Myksa
WIN2008SRV
FF 3.0.7- OK
IE7 - OK
Safari 4 - OK
Chrome - OK
Opera 9.64 - OK

bober
04-15-2009, 07:52 PM
http://odsiebie.com/pokaz/2211221---af10.html

I've uploaded here a version that works fine on two computers (Win XP, firefox 3, IE7).

Does it work anywhere?

Myksa

On IE it works on both bomputers i tryed, in Opera - only on one, on the one at I work still doesn't. I'll try to update Opera, maybe it could help...

UPD: No, 9.64 is the latest version...

bober
04-15-2009, 07:56 PM
I am not able to dowload it, whatz should I do when I'll come to that web page?
(Ja učilsa russkij jazyk vosem let na osnovnoj skole. Tomu uže mnogo let nazad i ja mnogo zabyl :-) )

I clicked on "skačať" but it just reloaded the page...!? Am I doing something wrong?
Do U have some online example?

Sorry, I forget about the capcha...