Play : a new module to play video and audio files

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Play : a new module to play video and audio files

Post 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
- ...
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: Play : a new module to play video and audio files

Post 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.
erajis
Forum Members
Forum Members
Posts: 38
Joined: Mon Nov 19, 2007 2:17 pm

Re: Play : a new module to play video and audio files

Post 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
User avatar
deejmer
Forum Members
Forum Members
Posts: 69
Joined: Thu Jan 11, 2007 7:32 pm

Re: Play : a new module to play video and audio files

Post 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?
Last edited by deejmer on Wed Jan 02, 2008 9:04 pm, edited 1 time in total.
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: Play : a new module to play video and audio files

Post 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.
rosgar
Forum Members
Forum Members
Posts: 40
Joined: Sat Oct 13, 2007 6:28 am

Re: Play : a new module to play video and audio files

Post by rosgar »

Wow.. this module rocks!
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: Play : a new module to play video and audio files

Post 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.
User avatar
deejmer
Forum Members
Forum Members
Posts: 69
Joined: Thu Jan 11, 2007 7:32 pm

Re: Play : a new module to play video and audio files

Post 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.....  :)
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: Play : a new module to play video and audio files

Post 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).
mmcw
Forum Members
Forum Members
Posts: 11
Joined: Sat Dec 08, 2007 7:32 pm

Re: Play : a new module to play video and audio files

Post 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
westis

Re: Play : a new module to play video and audio files

Post 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).
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: Play : a new module to play video and audio files

Post 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
gletofire
Forum Members
Forum Members
Posts: 18
Joined: Wed Dec 19, 2007 2:31 pm

Re: Play : a new module to play video and audio files

Post by gletofire »

I get this error when I try to add a video...

"Unable to save"

what should I do?
User avatar
dam
Forum Members
Forum Members
Posts: 136
Joined: Sat Jan 14, 2006 6:07 pm

Re: Play : a new module to play video and audio files

Post 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.
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: Play : a new module to play video and audio files

Post 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!
Post Reply

Return to “Modules/Add-Ons”