Re: MediaPlayer

2004-07-21 Thread Dick Applebaum
Rick

I have been playing with QuickTime and I think I can get it to do 
everything I (or you) want.

Currently I an using the browser plugin a popup window.

I also have been able to use the QT Player desktop app.

You can select a song (or movie) from a browser page.

You can play it inline, in a popup or in another frame.

You can do this in such a way that the songs/movies cannot be easily 
copied or saved.

You can select another song and it will kill the current song and start 
the new one.

Or you can build a playlist of up to 256 songs -- give QT the playlist 
and it runs on its own.

Or you can use _javascript_ to manipulate the player/plugin and 
songs/movies within the active playlist.

I don't understand all I know about this yet but there is a lot of neet 
things you can do -- For example a movie can have commands embedded 
within the movie.These communicate with the plugin/player which, in 
turn, communicates with the _javascript_ in your web page  vice versa.

To take this even further, the movie, can be wired and have hotspots -- 
so the user can click on the move and cause all sorts of things to 
happen.

I don't how much of this applies to mp3, yet.

But it appears that QT is a little media server that you can easily 
control from a web page with _javascript_ or Flash.

I'll try to have something to demo later today.

Right now I have a semi-hard coded 2 song then repeat playlist and it 
gets a little tedious.

Dick

The nice thing about standards is that there are so many of them to 
choose from.
- Andrew S. Tanenbaum -

On Jul 20, 2004, at 7:51 AM, cfhelp wrote:

 Thanks everyone for the input I will be checking into it all 
 especially the
WM9 Codec


I think the ultimate idea would be to detect the users default player 
 or at
least ask them if they want QuickTime, winamp or Media Player. In the 
 case
of the KCJukeBox.com I can store that info in the database under their
profiles as well.

I am getting a pretty positive response on this so I got a lot of 
 work to
do. Its open source so if anyone wants to play with it go grab it and 
 send
back your changes/improvements.

Rick Eidson
Partner  CTO
ArcRiver Technology, LLC
ASP, PHP, PERL, Cold Fusion Hosting Kansas City
http://www.arcriver.com/ http://www.arcriver.com/


Kansas City Musicians
http://www.kcjukebox.com/

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: MediaPlayer

2004-07-20 Thread Dick Applebaum
Rick

Sure!

I'll email you off list,

Dick

On Jul 19, 2004, at 8:20 PM, cfhelp wrote:

 My JukeBox is here.
http://www.kcjukebox.com/ http://www.kcjukebox.com/
http://www.kcjukebox.com/ http://www.kcjukebox.com/ 


The CF_Nuke is here
http://www.mycfnuke.com/ http://www.mycfnuke.com/
http://www.mycfnuke.com/ http://www.mycfnuke.com/ 


It does sound like we have the same problem. I would like to combine 
 yours
with mine to support MAC.


You can download the JukeBox from my site and from the MyCFNuke Site.


Rick Eidson
Partner  CTO
ArcRiver Technology, LLC
ASP, PHP, PERL, Cold Fusion Hosting Kansas City
http://www.arcriver.com/ http://www.arcriver.com/


Kansas City Musicians
http://www.kcjukebox.com/

http://www.houseoffusion.com/banners/view.cfm?bannerid=36

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: MediaPlayer

2004-07-20 Thread Dick Applebaum
Rick

Apple has just started shipping their Airport Extreme / AirTunes 
system.I got mine last Thursday.

http://www.apple.com/airportexpress/airtunes.html

It is a little Airport (wireless) router that can connect to a stereo 
as well as to a LAN  the internet,

So, from any computer in the house, you can play (wireless) your iTunes 
tracks on your stereo.

Rumored that the next version iPOD dock will have this capability.

I don't (yet) know how to implement this, but it is something to 
consider for any web Jukebox application.

Dick

On Jul 19, 2004, at 8:20 PM, cfhelp wrote:

 My JukeBox is here.
http://www.kcjukebox.com/ http://www.kcjukebox.com/
http://www.kcjukebox.com/ http://www.kcjukebox.com/ 


The CF_Nuke is here
http://www.mycfnuke.com/ http://www.mycfnuke.com/
http://www.mycfnuke.com/ http://www.mycfnuke.com/ 


It does sound like we have the same problem. I would like to combine 
 yours
with mine to support MAC.


You can download the JukeBox from my site and from the MyCFNuke Site.


Rick Eidson
Partner  CTO
ArcRiver Technology, LLC
ASP, PHP, PERL, Cold Fusion Hosting Kansas City
http://www.arcriver.com/ http://www.arcriver.com/


Kansas City Musicians
http://www.kcjukebox.com/

http://www.houseoffusion.com/banners/view.cfm?bannerid=36

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: MediaPlayer

2004-07-20 Thread Cutter (CF-Talk)
Rick,

I would look into using WM9 as opposed to WM7 (fairly wide distribution, 
so it shouldn't be much of a stretch.) MS has full documentation for 
control in the SDK, and an active forum on their developer's site, which 
may give you the information you need. If I had a little more time I 
would try to research this for you, but I can tell you from experience 
that the WM9 codec is much better than the WM7 codec, with better 
compression and less loss.

Cutter

cfhelp wrote:
 I have built a simple JukeBox for the CF_Nuke Portal that embeds MediaPlayer
 and plays files from directories on your site.
 
 
 Here is the script that embeds the Mediaplayer does anyone know how I can
 reload the page when a song ends?
 
 var WMP7;
 
 
 if ( navigator.appName != Netscape ){
WMP7 = new ActiveXObject('WMPlayer.OCX');
 }
 
 
 if ( WMP7 )
 {
document.write ('OBJECT ID=MediaPlayer ');
document.write (' CLASSID="">
document.write (' standby=Loading Microsoft Windows Media Player
 components...');
document.write (' TYPE=application/x-oleobject width=140
 height=40');
document.write ('PARAM NAME=url
 VALUE=cfoutput#URL_Path#/cfoutput');
document.write ('PARAM NAME=AutoStart VALUE=true');
document.write ('PARAM NAME=ShowControls VALUE=1');
document.write ('PARAM NAME=uiMode VALUE=mini');
document.write ('/OBJECT');
 }
 
 
 else
 {
//IE Code
document.write ('OBJECT ID=MediaPlayer ');
document.write ('CLASSID="" ');
document.write
 ('CODEBASE="">
 .cab#Version=6,4,5,715 ');
document.write ('standby=Loading Microsoft Windows Media Player
 components... ');
document.write ('TYPE=application/x-oleobject width=140
 height=40');
document.write ('PARAM NAME=FileName
 VALUE=cfoutput#URL_Path#/cfoutput');
document.write ('PARAM NAME=AutoStart VALUE=true');
document.write ('PARAM NAME=ShowControls VALUE=1');
 
 
//Netscape code
document.write (' Embed type=application/x-mplayer2');
document.write ('
 pluginspage=http://www.microsoft.com/windows/windowsmedia/');
document.write ('filename=cfoutput#URL_Path#/cfoutput');
document.write ('src="">
document.write ('Name=MediaPlayer');
document.write ('ShowControls=1');
document.write ('ShowDisplay=0');
document.write ('ShowStatusBar=1');
document.write ('width=290');
document.write ('height=40');
document.write (' /embed');
 
 
document.write ('/OBJECT');
 }
 
 Rick Eidson
 Partner  CTO
 ArcRiver Technology, LLC
 ASP, PHP, PERL, Cold Fusion Hosting Kansas City
 http://www.arcriver.com/ http://www.arcriver.com/
 
 
 Kansas City Musicians
 http://www.kcjukebox.com/

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: MediaPlayer

2004-07-20 Thread Dick Applebaum
Rick

It would also be worth supporting Quicktime.Apple has a new codec 
that supports higher quality video at lower data rates.Steve demoed 
it by doing a video chat with 3 concurrent participants displayed on 
the screen.

http://www.apple.com/macosx/tiger/h264.html

Dick

On Jul 20, 2004, at 3:50 AM, Cutter (CF-Talk) wrote:

 Rick,

I would look into using WM9 as opposed to WM7 (fairly wide 
 distribution,
so it shouldn't be much of a stretch.) MS has full documentation for
control in the SDK, and an active forum on their developer's site, 
 which
may give you the information you need. If I had a little more time I
would try to research this for you, but I can tell you from experience
that the WM9 codec is much better than the WM7 codec, with better
compression and less loss.

Cutter
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: MediaPlayer

2004-07-20 Thread Greg Luce
Dick,
	I know you're a big Mac guy, but some of us dislike Quicktime. I
don't know how many times I've installed it and try to tell it not to change
my filetype associations, but it does anyway somehow. 
	I hate having it installed on my PC. Sometimes I have to install it
to watch something important, but I always uninstall it. WMP is much more
civilized.

Greg

-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 20, 2004 10:04 AM
To: CF-Talk
Subject: Re: MediaPlayer

Rick

It would also be worth supporting Quicktime.Apple has a new codec 
that supports higher quality video at lower data rates.Steve demoed 
it by doing a video chat with 3 concurrent participants displayed on 
the screen.

http://www.apple.com/macosx/tiger/h264.html

Dick

On Jul 20, 2004, at 3:50 AM, Cutter (CF-Talk) wrote:

 Rick,

I would look into using WM9 as opposed to WM7 (fairly wide 
 distribution,
so it shouldn't be much of a stretch.) MS has full documentation for
control in the SDK, and an active forum on their developer's site, 
 which
may give you the information you need. If I had a little more time I
would try to research this for you, but I can tell you from experience
that the WM9 codec is much better than the WM7 codec, with better
compression and less loss.

Cutter
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: MediaPlayer

2004-07-20 Thread cfhelp
Thanks everyone for the input I will be checking into it all especially the
WM9 Codec

 
I think the ultimate idea would be to detect the users default player or at
least ask them if they want QuickTime, winamp or Media Player. In the case
of the KCJukeBox.com I can store that info in the database under their
profiles as well.

I am getting a pretty positive response on this so I got a lot of work to
do. Its open source so if anyone wants to play with it go grab it and send
back your changes/improvements.

Rick Eidson
Partner  CTO
ArcRiver Technology, LLC
ASP, PHP, PERL, Cold Fusion Hosting Kansas City
http://www.arcriver.com/ http://www.arcriver.com/ 

 
Kansas City Musicians
http://www.kcjukebox.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: MediaPlayer

2004-07-19 Thread Dick Applebaum
On Jul 19, 2004, at 3:07 PM, cfhelp wrote:

 I have built a simple JukeBox for the CF_Nuke Portal that embeds
 MediaPlayer
and plays files from directories on your site.

What is the CF_Nuke portal?

I written a simple CFprogram that:

1) Parses my iTunes Library.xml file
2) creates a structure of playlists and tracks (songs)
3) servers that to a browser.
4) The User selects a playlist and then selects a track
5) a window pops up and the song plays in via the quicktime plugin.

The quicktime plugin provides all the controls.

That said, it works differently in different browsers -- and I have a
problem that sounds similar to yours.

When a song finishes, I must close the popup before another can open
andanother song can play.

I haven't spent much time on it lately, but plan to resolve this with
_javascript_ or a Java applet.

BTW, It plays movies too,

Maybe we can help each other.

Dick

Here is the script that embeds the Mediaplayer does anyone know how I
 can
reload the page when a song ends?

var WMP7;


if ( navigator.appName != Netscape ){   
 WMP7 = new ActiveXObject('WMPlayer.OCX');
}


if ( WMP7 )
{
 document.write ('OBJECT ID=MediaPlayer ');
 document.write ('
 CLASSID="">
 document.write (' standby=Loading Microsoft Windows Media Player
components...');
 document.write (' TYPE=application/x-oleobject width=140
height=40');
 document.write ('PARAM NAME=url
VALUE=cfoutput#URL_Path#/cfoutput');
 document.write ('PARAM NAME=AutoStart VALUE=true');
 document.write ('PARAM NAME=ShowControls VALUE=1');
 document.write ('PARAM NAME=uiMode VALUE=mini');
 document.write ('/OBJECT');
}


else
{
 //IE Code
 document.write ('OBJECT ID=MediaPlayer ');
 document.write
 ('CLASSID="" ');
 document.write

 ('CODEBASE="" 
 nsmp2inf
.cab#Version=6,4,5,715 ');
 document.write ('standby=Loading Microsoft Windows Media Player
components... ');
 document.write ('TYPE=application/x-oleobject width=140
height=40');
 document.write ('PARAM NAME=FileName
VALUE=cfoutput#URL_Path#/cfoutput');
 document.write ('PARAM NAME=AutoStart VALUE=true');
 document.write ('PARAM NAME=ShowControls VALUE=1');


 //Netscape code
 document.write ('    Embed type=application/x-mplayer2');
 document.write ('
pluginspage=http://www.microsoft.com/windows/windowsmedia/');
 document.write
 ('filename=cfoutput#URL_Path#/cfoutput');
 document.write ('src="">
 document.write ('Name=MediaPlayer');
 document.write ('ShowControls=1');
 document.write ('ShowDisplay=0');
 document.write ('ShowStatusBar=1');
 document.write ('width=290');
 document.write ('height=40');
 document.write ('    /embed');


 document.write ('/OBJECT');
}

Rick Eidson
Partner  CTO
ArcRiver Technology, LLC
ASP, PHP, PERL, Cold Fusion Hosting Kansas City
http://www.arcriver.com/ http://www.arcriver.com/


Kansas City Musicians
http://www.kcjukebox.com/

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: MediaPlayer

2004-07-19 Thread cfhelp
My JukeBox is here.
http://www.kcjukebox.com/ http://www.kcjukebox.com/ 

 
The CF_Nuke is here
http://www.mycfnuke.com/ http://www.mycfnuke.com/ 

 
It does sound like we have the same problem. I would like to combine yours
with mine to support MAC.

 
You can download the JukeBox from my site and from the MyCFNuke Site.

Rick Eidson
Partner  CTO
ArcRiver Technology, LLC
ASP, PHP, PERL, Cold Fusion Hosting Kansas City
http://www.arcriver.com/ http://www.arcriver.com/ 

 
Kansas City Musicians
http://www.kcjukebox.com/

-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 19, 2004 5:59 PM
To: CF-Talk
Subject: Re: MediaPlayer

 
On Jul 19, 2004, at 3:07 PM, cfhelp wrote:

 I have built a simple JukeBox for the CF_Nuke Portal that embeds
 MediaPlayer
and plays files from directories on your site.

What is the CF_Nuke portal?

I written a simple CFprogram that:

1) Parses my iTunes Library.xml file
2) creates a structure of playlists and tracks (songs)
3) servers that to a browser.
4) The User selects a playlist and then selects a track
5) a window pops up and the song plays in via the quicktime plugin.

The quicktime plugin provides all the controls.

That said, it works differently in different browsers -- and I have a
problem that sounds similar to yours.

When a song finishes, I must close the popup before another can open
andanother song can play.

I haven't spent much time on it lately, but plan to resolve this with
_javascript_ or a Java applet.

BTW, It plays movies too,

Maybe we can help each other.

Dick

Here is the script that embeds the Mediaplayer does anyone know how I
 can
reload the page when a song ends?

var WMP7;


if ( navigator.appName != Netscape ){
 WMP7 = new ActiveXObject('WMPlayer.OCX');
}


if ( WMP7 )
{
 document.write ('OBJECT ID=MediaPlayer ');
 document.write ('
 CLASSID="">
 document.write (' standby=Loading Microsoft Windows Media Player
components...');
 document.write (' TYPE=application/x-oleobject width=140
height=40');
 document.write ('PARAM NAME=url
VALUE=cfoutput#URL_Path#/cfoutput');
 document.write ('PARAM NAME=AutoStart VALUE=true');
 document.write ('PARAM NAME=ShowControls VALUE=1');
 document.write ('PARAM NAME=uiMode VALUE=mini');
 document.write ('/OBJECT');
}


else
{
 //IE Code
 document.write ('OBJECT ID=MediaPlayer ');
 document.write
 ('CLASSID="" ');
 document.write

 ('CODEBASE="" 
 nsmp2inf
.cab#Version=6,4,5,715 ');
 document.write ('standby=Loading Microsoft Windows Media Player
components... ');
 document.write ('TYPE=application/x-oleobject width=140
height=40');
 document.write ('PARAM NAME=FileName
VALUE=cfoutput#URL_Path#/cfoutput');
 document.write ('PARAM NAME=AutoStart VALUE=true');
 document.write ('PARAM NAME=ShowControls VALUE=1');


 //Netscape code
 document.write (' Embed type=application/x-mplayer2');
 document.write ('
pluginspage=http://www.microsoft.com/windows/windowsmedia/');
 document.write
 ('filename=cfoutput#URL_Path#/cfoutput');
 document.write ('src="">
 document.write ('Name=MediaPlayer');
 document.write ('ShowControls=1');
 document.write ('ShowDisplay=0');
 document.write ('ShowStatusBar=1');
 document.write ('width=290');
 document.write ('height=40');
 document.write (' /embed');


 document.write ('/OBJECT');
}

Rick Eidson
Partner  CTO
ArcRiver Technology, LLC
ASP, PHP, PERL, Cold Fusion Hosting Kansas City
http://www.arcriver.com/ http://www.arcriver.com/


Kansas City Musicians
http://www.kcjukebox.com/

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: MediaPlayer

2004-07-19 Thread cfhelp
My JukeBox is here.
http://www.kcjukebox.com/ http://www.kcjukebox.com/
http://www.kcjukebox.com/ http://www.kcjukebox.com/  

 
The CF_Nuke is here
http://www.mycfnuke.com/ http://www.mycfnuke.com/
http://www.mycfnuke.com/ http://www.mycfnuke.com/  

 
It does sound like we have the same problem. I would like to combine yours
with mine to support MAC.

 
You can download the JukeBox from my site and from the MyCFNuke Site.

 
Rick Eidson
Partner  CTO
ArcRiver Technology, LLC
ASP, PHP, PERL, Cold Fusion Hosting Kansas City
http://www.arcriver.com/ http://www.arcriver.com/ 

 
Kansas City Musicians
http://www.kcjukebox.com/

 http://www.houseoffusion.com/banners/view.cfm?bannerid=36
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]