Any chance for a flowplayer buffering indicator?

jorgenqv

Joined: 2012-10-02
Posts: 3
Posted: Sun, 2012-10-14 21:34

Hello Gallery3 people!

I'm running a small G3 site for my friends and everything works very good on my host One.com. The only nag is the videos. Flowplayer works nice but most of my visitors don't get that it takes up to a minute to load longer videos, and on my install the player is just white while loading, and the visitor thinks something is broken and backs out of the video page or goes to the next photo or video...

It would be very nice if you had some kind of indicator or splash image that gives the visitor a hint that they should wait, like:

[img]http://s11.postimage.org/6eo6sderj/loading.gif[/img]

Is there any way to do this? I found this demo to do a playlist:

http://flash.flowplayer.org/demos/configuration/playlist-splash.html

and tried to do a ugly hack on modules/gallery/views/movieplayer.html.php but my codeing skills are very limited...

Any ideas about this is very welcome!

/Jorgen

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2012-10-15 02:38

Seems it comes that way by default:
[img]http://gallery.menalto.com/files/flowplayer_waiting.png[/img]
Did you get the playlist to work or is there some other color issue preventing the loading image?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jorgenqv

Joined: 2012-10-02
Posts: 3
Posted: Mon, 2012-10-15 09:25

Thanks Dave!

No I didn't get the playlist to work. Perhaps it can be color issue, your player image background is black and mine is white. One clue is that the copyright on my player is 2008-2011 and the image you posted is 2008-2012? My flowplayer is 3.2.7 and was the one included in the latest Gallery 3.0.4 (Ricochet).

Can I upgrade the flowplayer? I took a peak at http://flash.flowplayer.org/download/ and there is a 5.0 and 3.2.15. I downloaded the lower version but the files are not the same as located in the lib directory. There is no flowplayer.pseudostreaming.swf in the newer version.

Any hints how to do this? :-)

/Jorgen

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2012-10-15 13:40

There was some changes since the 3.0.4 release so you might try an experimental version.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jorgenqv

Joined: 2012-10-02
Posts: 3
Posted: Mon, 2012-10-15 16:51

Is the xperimental stable enough?

I downloaded "gallery-gallery3-3.0.4-26-gbbcee5f" from http://github.com/gallery/gallery3/zipball/3.0.x
and did a small test by just copying the files
lib/flowplayer*
and
modules/gallery/views/movieplayer.html.php

But no joy... The loading player background is still white.

So do I need to do a full upgrade of my Gallery to the experimental one? Things are otherwise working good... :-(

/Jorgen

Edit: HA! I figured it out :-)
Found: http://flash.flowplayer.org/documentation/skinning/index.html

This is what I did:

Restored all the files to the original 3.0.4 release.

Edited modules/gallery/views/movieplayer.html.php
and after row 14

clip: {
        scaling: 'fit'
      },

I added:

canvas: {
        backgroundColor: '#333333'
      },

And now everyting works like a charm! :-)

[img]http://s11.postimage.org/akwhpxaoh/dump20101015.png[/img]

Hope this is helpful for somebody else with simular problems.

Thank you for the support so I could find the courage to go on trying things!:-)