Click to See Complete Forum and Search --> : CD + Browser - Windows Media Player = help!!!


Code One
06-14-2003, 02:45 AM
Hello prog's,
I have 2 interesting questions...

1. Is it possible to setup a script that will automatically load a page once a CD has been loaded. (Just like Windows Media Player or Real Player, etc.)

2. Is it possible to embed sound files from a CD and have them play via an invisible player. Something like if I call for the path: E:\Track01.cda. I would like for the CD to begin playing at the 1 track and for the player to remain invisible, just like when you add the hidden attribute inside the embed tag. All this vs. the Media Player loading and then playing the music.

I hope you can understand what I mean. Again in a nutshell, basically I want to play music from a CD from a non-internet web page, without anyone seeing the player, and also if the web page isn't already up and running and someone inserts a CD into the CD-ROM, I would like the Web page to auto load itself, and then begin playing the CD.

All help is greatly appreciated,

Code One

cacalex
07-10-2003, 03:10 PM
First, with an autorun.inf, you can open an web page on the cd insertion... But i'm sure you already know this.

What is more difficult is to make this able to detect an already open page, so you won't have two of it opened.

Next, if you are used to media control, you can have your web page playing an deffined track on the cd. But for what i know, there's no way to mke the media control invisible...

You drive me curious about this.
What kind of project it is for ???
And if i catch you well, the web page won't be on the CD, but will be on your computer ???

If you need details...

:cool:

Code One
07-10-2003, 10:58 PM
Well I guess what Im trying to do is to make my own Media Player. I dont like the fact that Real Player and Media PLayer conflict the usage of the internet, due to its linkage to the net. I see that it causes my system to freeze too much. I figure make one myslef and case closed. Unfortunatly not as easy as expected. I ran into 3 major problems as follows:
1. CD when called on to play launches the Media player.exe.
2. You cant have a page load when a cd goes in because it has no way of knowing, unless I make a vbscript that checks if there is a cd in every 5 secs. or so, which means I would have o have the web page run in my taskbar all the time.
3. Jscript has no control over the CD player, unlike Vbscript which does, but I am still very new to it, considering I was introduced to it's exisitance like a week ago.
So as you can see my project was rather perilous, and really not worth the effort, unless it is easier done than said. Maybe then I would be up to the task. Or if someone already has a script similur and doesnt mind sharing I would continue on and actually finsih my project.
Furthermore I think the autorun.inf would be a bad idea considering the fact that I would have to burn my cds in order to have that autorun file on every cd I choose to listen to, and that would be just non sense.
In conclusion, I think that your curosity is cool and I would like to hand over the torch to you if you would like to run with it. Just please remember when your done to share.

;)

Code One

cacalex
07-11-2003, 07:51 AM
Allow me an couple of hour...

It may not look like this, but i'm at work now...

cacalex
07-11-2003, 08:57 AM
take a look at this...

http://personalpages.tds.net/~pmp/pmpdemo.html

Wich is explain here...

http://personalpages.tds.net/~pmp/pmpmain.html


It could be usefull...