Page 4 of 7
Re: Play : a new module to play video and audio files
Posted: Tue Apr 15, 2008 10:13 pm
by reidjazz
dam wrote:
reidjazz wrote:
Dam,
I'm having a bit of trouble with the Play module. On this page
http://alhoodtrumpet.com/cms/index.php?page=sounds, I'm using the play module at the bottom, but notice it doesn't display correctly (at least on a Mac...not sure about Windoze). It may be something about the CSS, but I'm not sure what.
Any ideas?
reidjazz
It displays correctly on Linux/Firefox. When you validate your CSS in W3C validator, it displays a full list of errors...
It appears all the errors relate directly to the Play module, particularly that ampersands are not encoded correctly. Not sure how I can fix this.
reidjazz
Re: Play : a new module to play video and audio files
Posted: Wed Apr 16, 2008 11:15 pm
by dam
reidjazz wrote:It appears all the errors relate directly to the Play module, particularly that ampersands are not encoded correctly. Not sure how I can fix this.
reidjazz
Sorry, but on my test site, Play is fully validated by W3C validator.
Erros on your CSS are not due to Play, I'm talking about CSS errors :
http://jigsaw.w3.org/css-validator/vali ... e%3Dsounds
Re: Play : a new module to play video and audio files
Posted: Thu Apr 17, 2008 8:22 am
by Franck
Hey Dam ! Great module.
I have a question though :
- could it be possible to put parameters in a different file (txt or xml as used with neolao players) so that there's no validation problems and a cleaner code too ?
By default, the template is the one for video, if you had a mp3 player, you must copy the template from neolao player mp3 multi.
Re: Play : a new module to play video and audio files
Posted: Thu Apr 17, 2008 5:10 pm
by reidjazz
dam wrote:
reidjazz wrote:It appears all the errors relate directly to the Play module, particularly that ampersands are not encoded correctly. Not sure how I can fix this.
reidjazz
Sorry, but on my test site, Play is fully validated by W3C validator.
Erros on your CSS are not due to Play, I'm talking about CSS errors :
http://jigsaw.w3.org/css-validator/vali ... e%3Dsounds
Yeow!! My bad here, thank you Dam. I'm sure this is what's going on...appreciate the heads up!
reidjazz
Re: Play : a new module to play video and audio files
Posted: Thu Apr 17, 2008 8:58 pm
by dam
Tomek wrote:
Hey Dam ! Great module.
I have a question though :
- could it be possible to put parameters in a different file (txt or xml as used with neolao players) so that there's no validation problems and a cleaner code too ?
Well, this idea of an external file is not something that I find very pretty, actually... I really like to have all configuration in the HTML file...
But working to have a cleaner code could be a way to explore...
Tomek wrote:By default, the template is the one for video, if you had a mp3 player, you must copy the template from neolao player mp3 multi.
I have one or two ideas in head to change that. Just wait some weeks...
Oh, if anyone wants, I am open to contributors

Re: Play : a new module to play video and audio files
Posted: Wed May 07, 2008 9:15 pm
by reidjazz
Dam
I seem to be having problems having a video using the Play module in a new story. Here's an example:
http://www.toddreid.com/news/22/15/. It works find if placed on a regular page.
Any ideas?
Todd
Re: Play : a new module to play video and audio files
Posted: Fri May 23, 2008 9:15 am
by Franck
dam wrote:
Well, this idea of an external file is not something that I find very pretty, actually... I really like to have all configuration in the HTML file...
But working to have a cleaner code could be a way to explore...
definitely.
I have one or two ideas in head to change that. Just wait some weeks...
Oh, if anyone wants, I am open to contributors
Thanx for that ! Oh, and sorry, I really can't help you but appreciate your work

Re: Play : a new module to play video and audio files
Posted: Mon Jun 09, 2008 9:37 pm
by Franck
There's a thing about neolao flv players : they need videos in flv 1.1 (with metadata) to show the time and for the slider to move (and to go to wherever you want in the file).
To convert to flv 1.1, there are :
Flvtool2 and
Free Riva flv encoder2.0
Re: Play : a new module to play video and audio files
Posted: Tue Jun 17, 2008 1:04 am
by belgirl
Dam-
Is there any way to provide us with the .flv multi player? I understand that the multi-player that can currently be downloaded is only for mp3's. Any help would be appreciated! Thanks!
Re: Play : a new module to play video and audio files
Posted: Tue Jul 08, 2008 7:19 am
by Franck
What do you mean exactly ? If you need the (neolao) multi flv player, you can download it
here
To make it work is another thing, and I have a problem with it : I can't have several files on the playlist...
Edit : I made it work by changing the template ; took it from the mp3 multi template and only change FlashVars value from mp3 to flv.
Re: Play : a new module to play video and audio files
Posted: Mon Jul 28, 2008 7:47 pm
by Franck
I have 2 problems :
- This error message on top of the Play module admin panel
Code: Select all
Warning: shell_exec() has been disabled for security reasons in /home/users4/a/alezan/www/modules/Play/Play.module.php on line 101
- The fact that even with autoload set to 0, my mp3 players load automatically in each page I visit, pretty annoying for slow connections...
Re: Play : a new module to play video and audio files
Posted: Wed Jul 30, 2008 6:45 am
by libralion
Hi everybody,
I installed the Play module. What I want is to play a couple of flv files. I want the titles of them to be displayed, so that you can click on them and then they will play.
But is this possible with the Play Module? And if so how can I get this? Now I get the text of the 2 flv files I added in the screen and that's it. It will only play the first file.
I also tried to insert the JW player, but that doesnot work.
Is there anybody that has this to work with several flv files? And maybe can help me and share a link to his or her site with the player?
Here is my testsite:
http://www.jomedio.nl/cmsmadesimple/index.php?page=play-module
Re: Play : a new module to play video and audio files
Posted: Wed Jul 30, 2008 7:26 am
by Franck
I'm using the neolao flv player multi. You can find it
here.
I just checked my template, here it is :
Code: Select all
<object type="application/x-shockwave-flash" data="{$location}" width="{$width}" height="{$height}">
<param name="movie" value="{$location}" />
<param name="FlashVars" value="{strip}
flv={foreach from=$files item=file name=foo}{if $smarty.foreach.foo.first}{else}|{/if}{$file}{/foreach}
&title={foreach from=$files key=title item=file name=foo}{if $smarty.foreach.foo.first}{else}|{/if}{$title}{/foreach}
{foreach from=$player_params key=n item=v}&{$n}={$v}{/foreach}
{/strip}" />
<param name="wmode" value="transparent" />
</object>
You can have a look at
the following page, go to "In Illo tempore", then click on "extraits vidéos", you'll get a multi flv player displaying 2 vids.
Hope this helps.
Re: Play : a new module to play video and audio files
Posted: Wed Jul 30, 2008 7:39 am
by libralion
Tomek wrote:
I'm using the neolao flv player multi. You can find it
here.
I just checked my template, here it is :
Code: Select all
<object type="application/x-shockwave-flash" data="{$location}" width="{$width}" height="{$height}">
<param name="movie" value="{$location}" />
<param name="FlashVars" value="{strip}
flv={foreach from=$files item=file name=foo}{if $smarty.foreach.foo.first}{else}|{/if}{$file}{/foreach}
&title={foreach from=$files key=title item=file name=foo}{if $smarty.foreach.foo.first}{else}|{/if}{$title}{/foreach}
{foreach from=$player_params key=n item=v}&{$n}={$v}{/foreach}
{/strip}" />
<param name="wmode" value="transparent" />
</object>
You can have a look at
the following page, go to "In Illo tempore", then click on "extraits vidéos", you'll get a multi flv player displaying 2 vids.
Hope this helps.
Hi Tomek,
Thanks for the reply and the example. But that isnot what I want. I think for people that want to see the videos that is a complicated way of doing so and I already have that.
http://www.jomedio.nl/cmsmadesimple/index.php?page=producten-2-2
I really want something like this:
http://www.sarah-brightman.nl/sarahvideos.htm
That is one of my sites([url=
http://www.sarah-brightman.nl)]
http://www.sarah-brightman.nl)[/url] and I put the JW flv player on there and that is great, because it displays all the videos with a thumb and you can click on it and it plays. That is easy. It must be possible to do this with the Play Module, but I can't seem to find out how to do this, so I hope somebody already has this going.
Johanna
Re: Play : a new module to play video and audio files
Posted: Wed Jul 30, 2008 8:18 am
by Franck
On my example, I disabled the display of a list of videos inside the player, so yes, it works as you're looking for.
I'm pretty sure you can do it with the template I put and your flv player, well I think (I'm no expert, indeed).