I've installed AVplayer 1.01 and after some initial headscratching got it to work. Now I'm faced with an organization issue that I haven't seen addressed in the forums. When adding mediafiles, they all get lumped into the same "virtual directory". I.e., when I load AVplayer (by inserting the module call {cms_module module="avplayer"} on the page that displays videos), all the videos that I configured, regardless of the directory in which they are stored, are displayed on a single page. For example, I might have holiday, vacation and sports videos all loaded on the same page, even if they were stored in separate physical directories.
What I would like to do is to be able to browse categories, similar to what's done in the Photo Albums module. Alternatively, I could switch between different directories (each containing a different category of video) and display only those videos. I don't see any obvious way to do this. Has anyone else dealt with this issue before? I see nothing in the forums. Any suggestions would be appreciated.
AVPlayer question: displaying directories
Re: AVPlayer question: displaying directories
You have at least three different options that I can think of to categorize your videos.
1. create a different "Player" for each category and use it like: {cms_module module="avplayer" parent="vacation"}
2. create a Userdefined1 field in Player called "vacation" and create a Query based on that, use it like {cms_module module="avplayer" query="1"}
3. create a Userdefined2 field in Media called "vacation" and create a Query based on that, use it like {cms_module module="avplayer" query="2"}
actually you can create a Query based on a whole bunch of different criteria such as "if name contains" etc....
Don't think of it as a Gallery displaying folders, it's not geared that way at all, although you can of course categorize your folder structure under the "uploads/media" folder if you wish to it's not necessary.
It's all in the Module Help
1. create a different "Player" for each category and use it like: {cms_module module="avplayer" parent="vacation"}
2. create a Userdefined1 field in Player called "vacation" and create a Query based on that, use it like {cms_module module="avplayer" query="1"}
3. create a Userdefined2 field in Media called "vacation" and create a Query based on that, use it like {cms_module module="avplayer" query="2"}
actually you can create a Query based on a whole bunch of different criteria such as "if name contains" etc....
Don't think of it as a Gallery displaying folders, it's not geared that way at all, although you can of course categorize your folder structure under the "uploads/media" folder if you wish to it's not necessary.
It's all in the Module Help
Re: AVPlayer question: displaying directories
Thank you, mw, good ideas. I'll try one of those. And, yes, I did read the module help but it was not clear (to me, anyway) from the module help that I could use multiple player instances to compartmentalize the various videos. Perhaps the next time that you update the docs you could add a couple of examples. That might go a long way toward answering common questions about module usage.
Nice module. Thanks for creating it.
Nice module. Thanks for creating it.

