RE: [PHP] Embedded Player

2006-01-20 Thread ET Support
You may also want to consider using frames, I've found that method to work
well when I want music to play continuously while a visitor surfs through
the site and it won't get stopped by popup blockers.

As for reducing file size, I found a program called CDex v1.51 to be very
effective... you can adjust the bitrate and that can greatly reduce the file
size... the home page for that was http://cdexos.sourceforge.net/ but seems
they need a new project manager, probably if you google CDex you'll find it.

Ben

-Original Message-
From: Brady Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 19, 2006 7:03 PM
To: php-general@lists.php.net
Cc: Jedidiah
Subject: RE: [PHP] Embedded Player


> -Original Message-
> My reason for using an embedded player was basically just for
> design purposes, but perhaps that is not a good idea.  I did
> not consider the fact of not being able to leave the site
> while listening, and since these are as long as 40 minutes,
> this might get annoying.

Perhaps keeping your current setup and adding a link that opens an
embedded player in a popup window would be a good compromise.  That way
people who just want to stream the sermons can do so, and with the
player in a popup window they could still surf the web while listening.

As far as file format, it might be worth looking into using the OGG
Vorbis format.  There are players on Windows/Mac/Linux that support the
format and it uses compression, so the file sizes should be a bit
smaller than mp3s.  Take a look at http://www.vorbis.com/ for more info.

Just some ideas..

Brady

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Embedded Player

2006-01-19 Thread Brady Mitchell
> -Original Message-
> My reason for using an embedded player was basically just for 
> design purposes, but perhaps that is not a good idea.  I did 
> not consider the fact of not being able to leave the site 
> while listening, and since these are as long as 40 minutes, 
> this might get annoying.  

Perhaps keeping your current setup and adding a link that opens an
embedded player in a popup window would be a good compromise.  That way
people who just want to stream the sermons can do so, and with the
player in a popup window they could still surf the web while listening.

As far as file format, it might be worth looking into using the OGG
Vorbis format.  There are players on Windows/Mac/Linux that support the
format and it uses compression, so the file sizes should be a bit
smaller than mp3s.  Take a look at http://www.vorbis.com/ for more info.

Just some ideas..

Brady

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Embedded Player

2006-01-19 Thread Jedidiah
Thanks for the input.  I think you have slightly misunderstood my post.
Currently, if you visit www.mzbc.com/sermons.php (not trying to promote, but
perhaps it will clarify), you will see a table without about 10 links to 10
different sermons.  I even have instructions below on downloading these
files to your computer.  

 

My reason for using an embedded player was basically just for design
purposes, but perhaps that is not a good idea.  I did not consider the fact
of not being able to leave the site while listening, and since these are as
long as 40 minutes, this might get annoying.  IE currently streams these
files by default, but Firefox automatically downloads them for some reason
even when I choose to open rather than save.  

 

I had planned to use mp3s, but switched to .wma files for size/quality
reasons.  Though I lose some quality with the current bit rate, it sounds
pretty good and the size is between 3-4MB.  This same quality in MP3 format
is 5-6MB.  For high speed users this is not much of a difference, but for
those of us who live in the middle of nowhere who are stuck using dial-up,
this makes a big difference.  Who is unable to play wma files?  Mac and
Linux users?  I was not aware of this.

 

Thanks for all the input,

 

Jedidiah

 



Re: [PHP] Embedded player

2006-01-19 Thread Richard Lynch
On Thu, January 19, 2006 7:24 am, Rodolfo Andrade wrote:
> If you are looking for compatibility then I would recommend the flash
> player
> solution. There are a *LOT* of sites that use flash so I don't think
> that
> making it "a must" will impact your users.

You're wrong...

> I don't know which type of users will access your church site, but I'm
> sure
> that if they even use Linux, they will install the plugin, if they
> haven't
> done so.

because the Flash player on Linux just plain sucks.

I get half-movies, movies whose controls don't work, movies with no
sound, ...

The Linux Flash player lags SIGNIFICANTLY behind the Flash designer
output featureset -- to the point where Flash for Linux is a joke, as
far as I'm concerned.

PS I also have about 2,000 audio files available at:
http://uncommonground.com
for anybody who is into acoustic music.

You may need to listen to the playlist twice for technical reasons way
too complex to go into here...

Short version:
Webhost: 500 Meg
Reality: 150,000 Meg
Webcache, cable-modem up backend, dog-slow first play, zippy second play.

PHP rocks. :-)

PPS
I've got to get the back end audio archive on the T1 at the coffehouse
some time RSN.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Embedded player

2006-01-19 Thread Richard Lynch
On Thu, January 19, 2006 5:36 am, Jedidiah wrote:
> I have a sermons page (www.mzbc.com/sermons.php) with a table with
> links to
> .wma sermons.  When clicked in Firefox, it prompts to download.  What

You should also consider switching to MP3, since there is NO WAY I'll
ever hear your .wma sermons -- It's Windows-only doesn't work on most
of my computers.

MP3 works well on all platforms.

> I want
> is to be able to embed a player that will stay on that page and play
> all of
> the files in the table.

Honestly, I'd just as soon you didn't...

I'm then stuck with your whole page open in my browser if I want to
keep listening, and have to mess with right-click and such to keep
listening and surfing at the same time.

A dedicated player allows me to queue up listening material while
surfing.

If you go further and embed it in a Flash movie, then:
A) I can't even hope to listen on Linux, since Flash support for my
Linux box sucks.
B) I can't use right-click on the links to keep your Flash player
going while I'm surfing other pages, so I'm screwed twice-over.

I probably have put a lot more thought into this topic than most,
since I spend a great deal of time reviewing demos of musician who
want to perform at a venue for one of my Jobs...

If you insist on taking away control of what I listen to, and how I
listen to it, and when I listen to it, and where I listen to it, then,
really, I'm not all that interested in listening to what you have to
say... :-)

At a MINIMUM, you should at least consider including a clickable link
within the player to downloads, so those of us who prefer our freedoms
have the option of exercising them and listening, rather than not
listening.  Not exercising our freedoms is not an option. :-)

YMMV

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Embedded player

2006-01-19 Thread Austin Denyer

On Thu, 19 Jan 2006 11:24:44 -0200
"Rodolfo Andrade" <[EMAIL PROTECTED]> wrote:
>
> If you are looking for compatibility then I would recommend the flash
> player solution. There are a *LOT* of sites that use flash so I don't
> think that making it "a must" will impact your users.
> 
> I don't know which type of users will access your church site, but
> I'm sure that if they even use Linux, they will install the plugin,
> if they haven't done so.

Unfortunately the flash plug-in is not available for all Linux
platforms.  I run Linux on AMD64 (my workstation is a dual-Opteron246),
and there are no 64-bit flash plug-ins for Linux.  It is possible if
you un-install the 64-bit Mozilla and install the 32-bit version into a
32-bit chroot environment, but it's not worth the hassle to me.

I avoid flash like the plague.

Regards,
Ozz.


pgp1Brd52DxeW.pgp
Description: PGP signature


Re: [PHP] Embedded player

2006-01-19 Thread Rodolfo Andrade
If you are looking for compatibility then I would recommend the flash player
solution. There are a *LOT* of sites that use flash so I don't think that
making it "a must" will impact your users.

I don't know which type of users will access your church site, but I'm sure
that if they even use Linux, they will install the plugin, if they haven't
done so.

Just my 2ยข
Good luck!
Rodolfo Andrade

- Original Message - 
From: Chris
To: clive
Cc: PHP General
Sent: Thursday, January 19, 2006 10:54 AM
Subject: Re: [PHP] Embedded player


On Thu, 2006-01-19 at 14:44, clive wrote:
> true, but not everyone uses windows as there operating system, so if
> they don't have windows media player they wont even be able to view the
> files.

A problem I`ve come across with many sites whilst using my Linux
box..very irritating.

--
Chris Blake
Cell: 082 775 1492
Work: +27 11 880 2825
Fax : +27 11 782 0841
Mail: [EMAIL PROTECTED]

I realize that today you have a number of top female athletes such as
Martina Navratilova who can run like deer and bench-press Chevrolet
trucks. But to be brutally frank, women as a group have a long way to go
before they reach the level of intensity and dedication to sports that
enables men to be such incredible jerks about it. -- Dave Barry, "Sports
is a Drag"

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Embedded player

2006-01-19 Thread Chris
On Thu, 2006-01-19 at 14:44, clive wrote:
> true, but not everyone uses windows as there operating system, so if 
> they don't have windows media player they wont even be able to view the 
> files.

A problem I`ve come across with many sites whilst using my Linux
box..very irritating.

--
Chris Blake 
Cell: 082 775 1492
Work: +27 11 880 2825
Fax : +27 11 782 0841
Mail: [EMAIL PROTECTED]

I realize that today you have a number of top female athletes such as
Martina Navratilova who can run like deer and bench-press Chevrolet
trucks. But to be brutally frank, women as a group have a long way to go
before they reach the level of intensity and dedication to sports that
enables men to be such incredible jerks about it. -- Dave Barry, "Sports
is a Drag"

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Embedded player

2006-01-19 Thread clive
true, but not everyone uses windows as there operating system, so if 
they don't have windows media player they wont even be able to view the 
files.


clive.

Barry wrote:

clive wrote:

Hi

Have a look at osplayer. Its a flash player that  plays mp3's(it may 
do wma)Ive seen it used with oscommerce on a site that sells cds. it 
can also load a whole bunch of mp3 that the user can select through 
the player.


http://www.counteractdesign.com/temp.html



I wouldnt use a flash player because flash isnt installed on firefox as 
standard.

And i dont know how they will react getting a popup with
"WEE! NO PLUGIN! *scared*!! INSTALL FLASHPLAYER!!!" message ^_^

But thats your choice :)



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Embedded player

2006-01-19 Thread Rodolfo Andrade
Hi,

You can use readdir() function for list the files. Here's a sample code from
PHP Doc www.php.net/docs.

if ($handle = opendir('/path/to/files')) {
echo "Handler: $handle\n";
echo "Files:\n";
while (false !== ($file = readdir($handle))) {
echo "$file\n";
}

I don't know how that music player works, but since it uses XML for
playlists, I think you can use readdir() then pass the results to XML.

- Original Message - 
From: Jedidiah
To: php-general@lists.php.net
Sent: Thursday, January 19, 2006 9:36 AM
Subject: [PHP] Embedded player


Hi.  I have been wanting to do something on my site for some time and was
recently told that it could be accomplished.



I started a daily devotion on our church website a few weeks ago, so I
changed all of my files to .php and began using a MySQL database.



I have a sermons page (www.mzbc.com/sermons.php) with a table with links to
.wma sermons.  When clicked in Firefox, it prompts to download.  What I want
is to be able to embed a player that will stay on that page and play all of
the files in the table.

I have found a player like this at http://musicplayer.sourceforge.net/.
There is also a Windows Media style player that will do the same thing.  The
problem is I either have to create each individual sermon with an embedded
player in a new page, or create a playlist.  I will eventually have way to
many sermons to use a playlist.  I am sure there must be some way to tell
each file in the table to open in that player, but I am not familiar yet
with programming yet.  I have php for dummies which I started reading, but I
am not sure it will do what I want.



Thanks so much,



Jedidiah

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Embedded player

2006-01-19 Thread Barry

clive wrote:

Hi

Have a look at osplayer. Its a flash player that  plays mp3's(it may do 
wma)Ive seen it used with oscommerce on a site that sells cds. it can 
also load a whole bunch of mp3 that the user can select through the player.


http://www.counteractdesign.com/temp.html



I wouldnt use a flash player because flash isnt installed on firefox as 
standard.

And i dont know how they will react getting a popup with
"WEE! NO PLUGIN! *scared*!! INSTALL FLASHPLAYER!!!" message ^_^

But thats your choice :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Embedded player

2006-01-19 Thread clive

Hi

Have a look at osplayer. Its a flash player that  plays mp3's(it may do 
wma)Ive seen it used with oscommerce on a site that sells cds. it can 
also load a whole bunch of mp3 that the user can select through the player.


http://www.counteractdesign.com/temp.html

clive

Jedidiah wrote:

Hi.  I have been wanting to do something on my site for some time and was
recently told that it could be accomplished.  

 


I started a daily devotion on our church website a few weeks ago, so I
changed all of my files to .php and began using a MySQL database.  

 


I have a sermons page (www.mzbc.com/sermons.php) with a table with links to
.wma sermons.  When clicked in Firefox, it prompts to download.  What I want
is to be able to embed a player that will stay on that page and play all of
the files in the table.  


I have found a player like this at http://musicplayer.sourceforge.net/.
There is also a Windows Media style player that will do the same thing.  The
problem is I either have to create each individual sermon with an embedded
player in a new page, or create a playlist.  I will eventually have way to
many sermons to use a playlist.  I am sure there must be some way to tell
each file in the table to open in that player, but I am not familiar yet
with programming yet.  I have php for dummies which I started reading, but I
am not sure it will do what I want.  

 


Thanks so much,

 

Jedidiah 





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php