flvplayer configuration questions

I've noticed other implementations of flvplayer seem to be a bit more friendly. For example, in WordPress, the control bar is present BELOW the video (instead of in the middle of the screen), and when the video ends, it goes back to the beginning so the user can just click it again (instead of just stopping at the end, where clicking doesn't do anything - the user has to actually rewind the video).

Is there a place within ZP where one is allowed to configure the flvplayer?

For example, I noticed on the JW FLV site, you can choose where the controls go. I did not, however, see a parameter that controls what happens at the end of the movie. Am I missing something?

Thanks!

Comments

  • acrylian Administrator, Developer
    Note that we still use v3 of the player because of it's more convenient color styling parameters (v4 skipped those in favor of pure flash skinning and also repuires the latest flash itself). v3 does not have the option to move the control bar. We probably should point that out in the plugin desc itself... v4 should work with the plugin except for the skipped/changed parameters if you need that positioning option.

    Of course there are more parameters even for v3 than we included but we did not want to overload it. You can always customize the configuration to your liking — you probably guessed it — in the plugin directly.
  • hmm... yes, ok. i knew that about v3, but i didn't connect the dots. thanks! i guess i'll try to simply use v4 - as far as you know, are there any tricks to doing that? if not, i guess i'll just try to replace v3 and see if it works. (i don't need the color styling stuff.)
  • acrylian Administrator, Developer
    I last tried when v4 was freshly out and it worked simply to replace (and rename) the player file. Gladly not all parameters changed.
  • bummer. that didn't seem to work. i replaced the flvplayer.swf file with the v4 file called player.swf. and then my video disappeared. let me know if you have any other tips. otherwise, are you guys planning on moving up to v4 at any point, or is v3 where things are going to stay?
  • acrylian Administrator, Developer
    You would have to rename the file of course to flvplayer.swf. It does work. But the hack is obsolete now, please try the nightly/svn, there is now a option to choose v3 or v4 for that plugin. Also you can set for v4 the position of the control bar now.
  • lol... that's funny. i just finished coding my own integration of the v4 player that branches the default image code. but hey; your guys' code is probably a lot better, so I'll use that! thanks!
  • well... i've loaded the new build and it works.

    unfortunately, at the end of a video, it stays on the last frame instead of going back to the thumbnail. strangely, when I coded v4 in myself, it goes back to the thumbnail when it's done playing.

    the current set up is still better than the old one (which had to be rewound, which is terrible), but it means that the page looks pretty bad after the video has been played. any bright ideas about how to make it go back to the thumbnail (i.e., appear to rewind)?

    oh... and do you know if there's a way to embed a caption into the video like there is with photos?
  • acrylian Administrator, Developer
    Re: rewind: If you selected version 4 it should do that automatically. There is as far as i know no option for that, it's just standard behaviour in v4.

    Re: caption: There is an option available on the setup wizard: http://www.longtailvideo.com/support/jw-player-setup-wizard
    But there is none in the wiki of the flv flashwars: http://developer.longtailvideo.com/trac/wiki/FlashVars
  • i guess i should be more clear about what i meant by "rewind." the file is indeed ready to play again when it finished (so that is good), but the image displayed is the last frame of the video rather than the thumbnail (so that is bad). for some reason, with my own implementation of v4, it goes back to the thumbnail, which looks a lot better. i'll keep working on it i guess.

    thanks again!
  • acrylian Administrator, Developer
    Ah, I understand. It's a minor thing actually, but if you find out what you did differently we can changed.
Sign In or Register to comment.