Hi
I am in the planning stage of building a CMS MS web site for a video production company. They setup all the equipment needed for company presentations such as the lighting, sound desk, projectors etc.
I want to be able to list all of the videos on a page which when clicked can either be downloaded or played in either an external video player or if it can be achieved an embedded video player. The video files when output from a capture station are .m4v so Quicktime would be preferred.
I'm hoping there is a module that can either do this or be hacked in order to do this.
All video files will be uploaded to /uploads/company name/ of which there will be many companies and many videos.
A point in the right direction on this would be gratefully received.
listing a folders contents
Re: listing a folders contents
Take a look in the download section and just search for download.
Thera are many modules that creates link lists from folders etc.
And i'm sure they also have categorization etc.
Here some quick search results:
Uploads
PodcastManager
List Downloads
DownloadManager
DownloadModule
File List
I never used one of these so i cannot tell you anything about wich one is the most stable one or what is the easiest to use or best functions etc.
To embed media you can use the object tag.
If you convert your video files to flv you might take a look on at the Play module (or other flv player modules).
i believe playing videos using flash seems to be the most common way than embeding them directly in the page. I don't know if flash player can handle m4v videos. You should first do some research of the most valueable flash video player and then look how to integrate it into CMSms. (this is how i would do it - i prefer JW Player or NeoLao)
Good luck for you and your project.
Thera are many modules that creates link lists from folders etc.
And i'm sure they also have categorization etc.
Here some quick search results:
Uploads
PodcastManager
List Downloads
DownloadManager
DownloadModule
File List
I never used one of these so i cannot tell you anything about wich one is the most stable one or what is the easiest to use or best functions etc.
To embed media you can use the object tag.
If you convert your video files to flv you might take a look on at the Play module (or other flv player modules).
i believe playing videos using flash seems to be the most common way than embeding them directly in the page. I don't know if flash player can handle m4v videos. You should first do some research of the most valueable flash video player and then look how to integrate it into CMSms. (this is how i would do it - i prefer JW Player or NeoLao)
Good luck for you and your project.
Re: listing a folders contents
Thanks for the advice 
I opted to use the file list module as this looked like the simplest solution. I'm just playing around at the moment but this is definitely getting me on my way.
There is a bug in the file list module on line 20 but a fix has been posted on the forge.
Thanks again

I opted to use the file list module as this looked like the simplest solution. I'm just playing around at the moment but this is definitely getting me on my way.
There is a bug in the file list module on line 20 but a fix has been posted on the forge.
Thanks again
Re: listing a folders contents
Simple is the best
Code: Select all
<?php
function smarty_function_videos($params, &$smarty) {
$smarty->assign('allvideos',glob('uploads/*/*.m4v'));
}
?>
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: listing a folders contents
{assign var='list' value='/uploads/*/*.m4v'|glob}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: listing a folders contents
Thanks 
That is simpler. I love this software as it can always do what I want it to without causing any major headaches.

That is simpler. I love this software as it can always do what I want it to without causing any major headaches.