Page 2 of 7

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

Posted: Mon Jan 14, 2008 11:29 pm
by dam
hexdj > Well, it's not very hard to develop, just wait some days and you'll get that...

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

Posted: Mon Jan 14, 2008 11:41 pm
by hexdj
Thanks, you rock!
;D

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

Posted: Tue Jan 15, 2008 7:33 pm
by mmcw
dam wrote: 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 ?

Yes I want to add a file that is hosted on another domain!

Greetings Michel (mmcw)

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: Wed Jan 16, 2008 6:34 pm
by dam
0.5.0 is out.

Changes :
- as usual some bug fixes and code cleaning (thanks to all bug reports)
- it is now possible to play a remote video or audio file : just put its URL in record location

Any feedback is welcome, especially every bug you see...

Dam

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

Posted: Wed Jan 16, 2008 8:04 pm
by hexdj
@dam, Installed and this time no errors!!!

Will play with the module and report to you if I find any bugs.

Thanks for your hard work on a great module!

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

Posted: Wed Jan 16, 2008 9:26 pm
by westis
Good work, dam! I have two bug reports, a feature request and a question. :)

1) I just installed the latest version. When I enter a URL for a remote file it just keeps loading. Is it uploading the file to the site server or did I do something wrong? I just entered a URL as location and clicked Save.

2) Also, when I upload a file through the browser, when I click upload the browser window becomes empty. However, the file is uploaded.

3) Would it be possible to create a playlist for flv/mp4 files?

4) I suppose it should be easy to use the [url=http://JW%20FLVPlayer]JW FLVPlayer[/url] by adding a player and customize the code? Would it be easy/possible to create a web TV site like the one at www.okv.se (click Webb-TV).

Thanks!

/Daniel

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

Posted: Thu Jan 17, 2008 2:31 pm
by dam
westis wrote: Good work, dam! I have two bug reports, a feature request and a question. :)

1) I just installed the latest version. When I enter a URL for a remote file it just keeps loading. Is it uploading the file to the site server or did I do something wrong? I just entered a URL as location and clicked Save.

2) Also, when I upload a file through the browser, when I click upload the browser window becomes empty. However, the file is uploaded.

3) Would it be possible to create a playlist for flv/mp4 files?

4) I suppose it should be easy to use the [url=http://JW%20FLVPlayer]JW FLVPlayer[/url] by adding a player and customize the code? Would it be easy/possible to create a web TV site like the one at www.okv.se (click Webb-TV).

Thanks!

/Daniel
0.5.1 is out
1) Fixed
2) Well, there was a test of file existence that coul take a long time with remote files. I supressed that for remote files.
3) Playlist ? Why not. I'm just thinking about that, but I'm not sure it will be in next release. Perhaps the one after...
4) This type of website is possible, but it will not depend only on Play module : it is about changing the video that is displayed by clicking a link on the page.
Neolao player provide a way to be controlled by javascript, but I didn't try this feature actually. To be honest, it is not in my priorities today.

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

Posted: Thu Jan 17, 2008 3:19 pm
by westis
dam wrote: 0.5.1 is out
1) Fixed
2) Well, there was a test of file existence that coul take a long time with remote files. I supressed that for remote files.
3) Playlist ? Why not. I'm just thinking about that, but I'm not sure it will be in next release. Perhaps the one after...
4) This type of website is possible, but it will not depend only on Play module : it is about changing the video that is displayed by clicking a link on the page.
Neolao player provide a way to be controlled by javascript, but I didn't try this feature actually. To be honest, it is not in my priorities today.
Thanks! Ok, then I know. The FLVPlayer module works great for my needs currently, as it includes handling of a separate playlist that updates the player with javascript. An update is close, so that it is also possible to use the latest versions of JW FLVPlayer (that now also can play h.264 encoded mp4 files btw, which the latest Flash Player can handle). At one point I may put together a tutorial on how to customize it for a web TV kind of use.

The Play module complements the FLVPlayer module in a great way and is probably a module that more users may find easier to use, when the needs aren't as "big" and when wanting to be able to upload and automatically encode files.

/Daniel, who enjoys when there are more and more good modules being actively developed and maintained :)

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

Posted: Sat Jan 19, 2008 3:16 pm
by mmcw
I have just upgraded to 5.1 but now again it isn't possible for me to click the tab buttons after I have added a FLV file.
This problem was fixed in an aerlier version!!!
The buttons Informations Configuration Preview can not be entered!!

Is thsi again the php4 versus php5 problem?
I am using PHP4.

Would be nice if you can fix this error agian so I can change to 5.1!

Greetings Michel

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

Posted: Sun Jan 20, 2008 9:42 pm
by dam
mmcw wrote: I have just upgraded to 5.1 but now again it isn't possible for me to click the tab buttons after I have added a FLV file.
This problem was fixed in an aerlier version!!!
The buttons Informations Configuration Preview can not be entered!!

Is thsi again the php4 versus php5 problem?
I am using PHP4.

Would be nice if you can fix this error agian so I can change to 5.1!

Greetings Michel
Can you read the error message that should appear in source code ?

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

Posted: Mon Jan 21, 2008 6:50 pm
by mmcw
dam wrote:
mmcw wrote: I have just upgraded to 5.1 but now again it isn't possible for me to click the tab buttons after I have added a FLV file.
This problem was fixed in an aerlier version!!!
The buttons Informations Configuration Preview can not be entered!!

Is thsi again the php4 versus php5 problem?
I am using PHP4.

Would be nice if you can fix this error agian so I can change to 5.1!

Greetings Michel
Can you read the error message that should appear in source code ?
Parse error:  syntax error, unexpected '=', expecting ')' in /home/test/domains/test.nl/public_html/modules/Play/class.ffmpeg.php on line 127

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

Posted: Wed Jan 23, 2008 12:12 pm
by rosgar
At one point I may put together a tutorial on how to customize it for a web TV kind of use.
Cool! I'm waiting for this ;D

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

Posted: Wed Jan 23, 2008 6:35 pm
by mmcw
mmcw wrote:
dam wrote:
mmcw wrote: I have just upgraded to 5.1 but now again it isn't possible for me to click the tab buttons after I have added a FLV file.
This problem was fixed in an aerlier version!!!
The buttons Informations Configuration Preview can not be entered!!

Is thsi again the php4 versus php5 problem?
I am using PHP4.

Would be nice if you can fix this error agian so I can change to 5.1!

Greetings Michel
Can you read the error message that should appear in source code ?
Parse error:  syntax error, unexpected '=', expecting ')' in /home/test/domains/test.nl/public_html/modules/Play/class.ffmpeg.php on line 127

The problem is in the file: class.ffmpeg.php
and the first line of the follwoing code:

function exec($options, &$result = array()) {
//$cmd = $this->command." ".escapeshellarg($options)." 2>&1";
$cmd = $this->command." ".$options." 2>&1";
// 2>&1 is used to redirect error messages to standard output
$this->setoutput(array($cmd));
exec($cmd,$result,$status);
$this->setoutput($result,false);
return ($status == 1);
}

Disabling this class will make th ebuttons work again but selecting a file (SWF) will not work anymore!

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

Posted: Wed Jan 23, 2008 6:48 pm
by dam
mmcw wrote:
dam wrote:
mmcw wrote: I have just upgraded to 5.1 but now again it isn't possible for me to click the tab buttons after I have added a FLV file.
This problem was fixed in an aerlier version!!!
The buttons Informations Configuration Preview can not be entered!!

Is thsi again the php4 versus php5 problem?
I am using PHP4.

Would be nice if you can fix this error agian so I can change to 5.1!

Greetings Michel
Can you read the error message that should appear in source code ?
Parse error:  syntax error, unexpected '=', expecting ')' in /home/test/domains/test.nl/public_html/modules/Play/class.ffmpeg.php on line 127

0.5.2 is here to fix this bug

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

Posted: Wed Jan 23, 2008 7:55 pm
by hexdj
Hi dam

Is there a way to display a frame of the movie with a play overlay before the video starts playing?, kinda like in youtube?

;D