Page 1 of 7
Play : a new module to play video and audio files
Posted: Fri Dec 28, 2007 9:46 pm
by dam
Hello,
Just a little post to talk about a new module :
Play.
Its aim is to display FLV video files and MP3 audio files. Actually, it uses FLV and MP3 players designed by
Neolao, a french developper
Next steps :
- provide user ability to include his own players
- ...
Re: Play : a new module to play video and audio files
Posted: Sat Dec 29, 2007 12:57 pm
by dam
Well,
Fast release of 0.2 before my hollidays.
- You can now upload files in file browser
- You can now use your own player, instead of Neolao default players. Good for those who prefer Dewplayer or any other !
See you in one week.
Re: Play : a new module to play video and audio files
Posted: Wed Jan 02, 2008 12:36 pm
by erajis
Hello my friend and thanks for this excellent module!! However I've gotten this error message when trying to add audio files:
Parse error: syntax error, unexpected '{' in /mnt/gs01/herd03/13515/domains/gochurchmedia.org/html/modules/Play/action.editrecord.php on line 66
I know that this is a beta release so hopefully this helps iron some of the bugs out!! I'm using the latest version of cms mades simple 1.2.
Best regards,
Emeka Rajis
Re: Play : a new module to play video and audio files
Posted: Wed Jan 02, 2008 8:49 pm
by deejmer
First of all let me say....
great module! I think everyone has been looking for simple implementation of FLV and MP3 files.
One question, I notice that you use the Neolao "Maxi" flvplayer (
http://flv-player.net/players/maxi/). If I could make a feature request, maybe the Neolao "Multi" flvplayer (
http://flv-player.net/players/multi/) could be implemented that would allow for a single viewer window, but could support more than one video (little popup menu is in bottom left corner of the sample player, if you check it out)? I'm hoping this would be a quick inclusion, might need to pass another parameter somehow.
Thoughts anyone? I have good ideas but no programming ability!
One other thing.....
I noticed that there is an ability within the module to add/edit players. There are parameters in Neolao FLV Player that are set by default. I also notice that there is a drop-down menu with other parameters outlined on Neolao's website. I tried selecting a parameter and assigning a value, but am getting this error message "--Add Me - module:Play string:error_emptytemplate--" Can you help me understand how one adds either one or multiple parameters to the player?
Re: Play : a new module to play video and audio files
Posted: Sat Jan 05, 2008 9:00 am
by dam
Erajis > Well, it seems that your PHP version doesn't allow "try..catch" expressions. I did suppress them in my new release, but I don't know if it's a great idea
Deejmer > Well. Using Neolao multi player seems to be possible. I'll try to implement a way to view multiple files in next Play releases
For all > a new release delivered : 0.2.1. Only bug fixes and translations added. Every feedback will be welcome.
Re: Play : a new module to play video and audio files
Posted: Mon Jan 07, 2008 4:51 am
by rosgar
Wow.. this module rocks!
Re: Play : a new module to play video and audio files
Posted: Thu Jan 10, 2008 2:02 pm
by dam
0.4.0 is out !
This major release adds some very useful features as soon as FFmpeg is available on your host :
- Video conversion from AVI files
- Thumbnail picture grabbing
Other changes :
- It is now possible to copy a player or a record
- Switch back from getid3 V2 to getid3 V1 in order to be compatible with PHP4. No feature changes.
Re: Play : a new module to play video and audio files
Posted: Thu Jan 10, 2008 2:05 pm
by deejmer
Dam....Thanks for your work on this. These are some great additions to your module. I'm glad to see you remain active on enhancing it. I cant wait to use the "multi" function capability! Now I just have to get FFmpeg working on my dedicated server to see that functionality.....

Re: Play : a new module to play video and audio files
Posted: Thu Jan 10, 2008 3:20 pm
by dam
Thanks Deejmer.
But you know, "Multi" players can be used without FFmpeg, if your videos or audio files are in the good format (FLV or MP3).
Re: Play : a new module to play video and audio files
Posted: Fri Jan 11, 2008 6:45 pm
by mmcw
Excellent mod.
Nice it does work for PHP4 also now.
One question:
How to add a swf file from an other site?
The player can use the url to the swf file but the mod will not except that!
Greetings Michel
Re: Play : a new module to play video and audio files
Posted: Fri Jan 11, 2008 9:33 pm
by westis
Nice module! And good that there now are two modules for playing FLV files. Calguy developed FLVPlayer for me and as that is customized to our use (a public access TV channel) it may not be ideal for everyone else. It is based on the idea that the FLV files are already stored somewhere. By entering info in the database about each video a playlist is created that is separate from the player. With javascript the video that is clicked on is opened in the player. It also allows for categorizing each video as well as adding a "member", i.e. who is responsible for the video.
But it does not include any way of uploading video (or converting to flv), which is where Play comes in very handy for those needing that feature (our flv files are stored on another computer than the web server and pre-converted to flv with ffmpeg).
Btw, the FLVPlayer module will soon be updated to allow for the use of the latest version of JW FLVPlayer.
Has anyone tried the Play module with JW FLVPlayer? The latest version can handle mpeg-4 files with the h.264 codec. Fantastic quality, although the latest Flash Player is required.
Any site where the Play module is used?
You can see the FLVPlayer module in use at
www.okv.se (click Webb-TV).
Re: Play : a new module to play video and audio files
Posted: Sat Jan 12, 2008 2:24 am
by hexdj
I just decided to install but I get this error in the admin end
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/mysite.com/cms123/modules/Play/action.editrecord.php on line 62
also same error in Lines: 99,156,172
Re: Play : a new module to play video and audio files
Posted: Sun Jan 13, 2008 2:13 pm
by gletofire
I get this error when I try to add a video...
"Unable to save"
what should I do?
Re: Play : a new module to play video and audio files
Posted: Mon Jan 14, 2008 9:11 pm
by dam
mmcw > What is exactly your feature request ? Play a film that is hosted on another server, or play a local video with a player that is hosted on another server ?
westis > Yes, I know flv player and I do appreciate the work of Calguy. Actually, this module didn't answer my need, so I decided to code mine, like I did for Album, TruetypeText or Map. Cocnerning the hosting of flv files on another server, it is a feature that is on my plans, but I didn't have the time to add it yet.
hexdj > Well, you made me discover another PHP way of developping. This error shall be fixed in next release
gletofire > Well, shame on me : my error messages aren't very clear

Did you just install module or have you made some upgrades ? If you're in the second case, perhaps an upgrade didn't happen well. You then shall reinstall module.
Re: Play : a new module to play video and audio files
Posted: Mon Jan 14, 2008 9:59 pm
by hexdj
@dam:
Thanks for your prompt reply.
I also have a feature request, if you don't mind. Would it possible to feed the player a video that does not live in my server? like a youtube thing?. I am very new to the whole video player thing so correct me if this is not something that's feasible!.
Thanks again!