Flowplayer3 playlist plugin - Media Album?

Hey, I am trying to set up the flowplayer3 playlist plugin, but am lost at the beginning. When I check the documentation, it references...

"flowplayer3 playlist - Show the content of an media album with .flv/.mp4/.mp3 movie/audio files only as a playlist or as separate players with Flowplayer 3 IMPORTANT: The Flowplayer 3 plugin needs to be activated to use this plugin.

Note that this does not work with pure image albums and is not meant to!"

... so I assume I need to make a Media Album instead of an Image Album, How do I do that? I just uploaded all my mp4's to a brand new folder in the Album folder through FTP, but that seems to just default to an Image Album and I can't figure out how this plugin works?

sorry for the n00b question :)
thanks in advance for the help,
Stephen

Comments

  • acrylian Administrator, Developer
    A media album is just an album that has only multimedia content like mp4, flv or mp3.

    The playlist does not recognize that automatically. To use it you have to modify your theme as described on the plugin documentation using a if/else clause for example. Or you use an "album theme" which you assign to that (top)level album you want to use.
  • Hey, thanks so much for this, I applied a separate theme to my "videos" album, then swapped the code in album.php to use <?php flowplayerPlaylist("playlist"); ?>
    Now when I go to the album I can see a list on the right side of the player with all of my videos and the left side is a working player... so far so good...
    however the up and down arrows on the right side don't let me scroll through my videos and I can't see down past the 7th video (I have 41 uploaded).
    Any suggestions, I can't find the code of the flowplayer3 playlist plugin to try to sort it out.
    thanks,
    stephen
  • acrylian Administrator, Developer
    The code of the plugin is in the `zp-core/zp-extensions` folder as all standard plugins are.

    Please always tell which theme and what browser you are using. A link to the site would also be helpful. This scrolling is done via a jQuery plugin provided by the Flowplayer devs. Maybe the CSS of it needs to be adjusted (the plugin supports theme based custom css).
  • acrylian Administrator, Developer
    I could not reproduce this with over 40 audio/video files in an album. In the current night I readded mousewheel support that somehow got lost that makes scrolling much more convenient anyway.
  • Hello,

    My old version of ZP has been hacked so I had to update it to the lastest version. I can't make flowplayer playlist working !

    Where exactly do you have to paste the code <?php flowplayerPlaylist("playlist"); ?> in album.php ?

    In the documentation it's said that you have to replace the whole next_image() loop, but in my theme the only place I can see about next_image is this line : <?php while (next_image(false,$firstPageImages)): flowplayerPlaylist("players"); printImageTitle() ; printImageDesc(); endwhile; ?>

    I tried to write "playlist" instead of "players" and that's what I get with an mp3 album : http://www.vegasound.fr/sons/projet-cinema-muet

    Thanks for helping a newbie ;-)
    Rhoulian
  • acrylian Administrator, Developer
    You did not read correctly. The "playlist" mode of the Flowplayer3 plugin (well in 1.4.1.x the flowplayer3_playlist is a separate plugin, on 1.4.2 they are joined) replaces the whole next_image(). If you read the theming tutorial you will know that the next image loop prints the image contents of an album. If you want to use the playlist mode `<?php flowplayerPlaylist("playlist"); ?>` needs to replace the whole next_image loop (= you don't have a next_image loop anymore).

    Of course if you want only to use this on specific albums you need to modify the theme with if/else or similar things. Or use the multiple_layouts plugin.

    If you want to use the "players" mode which means individuel players for each entry you place that within the next_image loop to replace the normal content of that loop. Of course it can be combined as well.
  • acrylian Administrator, Developer
    I just tested to be sure no bug sneaked in and all worked as expected. Here you find screenshots how it should look like (tested locally with default theme and no splash image used):
    http://zenphoto.maltem.de/Test/
  • Ok thanks for helping !

    So the actual code is<?php while (next_image(false,$firstPageImages)): flowplayerPlaylist("players"); printImageTitle() ; printImageDesc(); endwhile; ?>

    Where exactly do I replace ? I tried this but doesn't work:

    <?php flowplayerPlaylist("playlist"); printImageTitle() ; printImageDesc(); ?>
    </p>

    Sorry, code php is chinese to me...
  • acrylian Administrator, Developer
    The first code example is for the "players" mode (in current Zenphoto release the $firstpageimages is actually not needed anymore).

    For the playlist you need to replace the next_image loop. You cannot get the image title or description in that mode as there is no loop to get the info.

    I really suggest to read the theming tutorial and learn a few general things about PHP before trying to modify a theme. Sorry, we can't teach you that.
  • I know this all thing is so complicated...Is there a theme especially made for mp3 and video albums ? My current theme is zpgalleriffic 1.0

    Maybe if I can find one I won't have to modify the code inside?
    Thanks again
  • acrylian Administrator, Developer
    Actually this is a fairly simple change... I can only recommend to read the theming tutorial for the basics and learn a few things yourself.

    zpGalleriffic however is a rather complex theme, more than the Zenpage theme you originally used.
    There is no specific media theme to my knowledge but all themes of course do support multimeda, just not as a playlist.

    But if all fails, we have a link for paid support in the sidebar and on top of the page as well.
  • Thanks, i'll try these few things.
    and about the paid support, I only see the names of the team, but I don't see how to pay anyone for some help. Maybe a donation ?
    Bye
  • acrylian Administrator, Developer
    Regarding paid support, yes, it is basically the main team (naturally we don't list others as we don't know them).

    As noted above on that page you have to hire and talk the person you choose directly about things like payment. The general donation button is NOT the way to pay anyone as we don't get that. The general donations are solely used for running our server which a team member does that is not listed on that page at all.
  • Thanks acrylian
    I did it fine with zenpage theme (galleriffic is too complicated for me)
    have a nice day
Sign In or Register to comment.