Old 3rd September 2003, 18:34   #1
tsargs
Junior Member
 
Join Date: Sep 2003
Location: Singapore (Asia)
Posts: 7
Embeding Winamp in HTML file

Hi,

I hope one of you brilliant minds out there can help me as I have exhausted all resources to figure this problem out. What I'm trying to do is real simple:

I've created an enhanced CD of my music. The enhanced CD launches a html file with information, etc on the artist. What I want to also include is an audio player on the html page that will play the audio tracks found on the CD while the viewer browses through the enhanced portion of the CD.

I really hope one of you has the sollution to this. I've tried embedding Windows Media player and getting it to play the files but it just doesn't work!!!

I'm frustrated and really, really hope there's a means for achieving this. Thanks in advance if you can offer me a solution other than to go shoot myself in the head (which, by the way, I'm seriously considering at this very instance!!!!).
tsargs is offline   Reply With Quote
Old 3rd September 2003, 18:54   #2
Sawg
Guest
 
Posts: n/a
Winamp cannot be embedded into HTML.
  Reply With Quote
Old 3rd September 2003, 21:52   #3
bmezenga
Member
 
bmezenga's Avatar
 
Join Date: Mar 2002
Location: Brazil
Posts: 75
Send a message via ICQ to bmezenga
I suppose you are using autorun.inf on CD root dir to open your html file. (the autorun.inf thing isn´t cross plataform so it will only work on windows)

Have you tried two "open" statements ? somwething like:

autorun.inf
[autorun]
open = file.htm
open = file.mp3

If it works, OS will open the default browser then the default media player (and you don´t need to embed nothing).

If it doesn´t accept 2 "open" statements you can try open = file.bat

file.bat
@echo off
file.htm
file.mp3

Anyway, I´m only guessing... So don´t expect it to work.
bmezenga is offline   Reply With Quote
Old 3rd September 2003, 23:56   #4
whiteflip
Post Master General
(Forum King)
 
whiteflip's Avatar
 
Join Date: Jun 2000
Location: Seattle, Now Las Vegas
Posts: 6,032
there is a javascript version of winamp that you can personally skin. ill get it for you.

I'm Back?
whiteflip is offline   Reply With Quote
Old 3rd September 2003, 23:59   #5
whiteflip
Post Master General
(Forum King)
 
whiteflip's Avatar
 
Join Date: Jun 2000
Location: Seattle, Now Las Vegas
Posts: 6,032
You will need some mad programming skills to get it all together. Like how to edit JavaScript and change the grpahics. You can download the Winamp Base skin if you really want it from the development section.
Attached Files
File Type: zip javascript winamp2x.zip (76.0 KB, 220 views)

I'm Back?
whiteflip is offline   Reply With Quote
Old 4th September 2003, 04:52   #6
tsargs
Junior Member
 
Join Date: Sep 2003
Location: Singapore (Asia)
Posts: 7
Will try and let u guys know...

Thanks for all your help guys. I'm try playing with the javascript winamp. Thanks once again. I've tried the *.inf as well as *.bat. The inf works but tts not what i want. I want the user to run the music straight off the html page.

I'll keep you guys posted on my progress. Perhaps I'll even mail you guys a copy of the cd if you're interested. Don't worry it's FREE!

Thanks once again.
tsargs is offline   Reply With Quote
Old 4th September 2003, 07:11   #7
whiteflip
Post Master General
(Forum King)
 
whiteflip's Avatar
 
Join Date: Jun 2000
Location: Seattle, Now Las Vegas
Posts: 6,032
Free CD allright. But that means giving out my physical home address to a stranger on the net and last time that happened had mixed results... :P

I'm Back?
whiteflip is offline   Reply With Quote
Old 4th September 2003, 10:39   #8
tsargs
Junior Member
 
Join Date: Sep 2003
Location: Singapore (Asia)
Posts: 7
Hi,

Don't worry. If you're paranoid about giving out your address I'll just post an mp3 version on the net.

Anyways I tried working with the Java Winamp. Can't get it to work the way I want. I think I might just give up trying to embed a player into the html page.

If one of you figures out a solution do let me know. I'm willing to give anything a try right about now.
tsargs is offline   Reply With Quote
Old 11th September 2003, 00:04   #9
Kalphegor
Member
 
Kalphegor's Avatar
 
Join Date: Aug 2003
Location: Romania
Posts: 62
Send a message via Yahoo to Kalphegor
Why you don't use Flash?
Kalphegor is offline   Reply With Quote
Old 11th September 2003, 00:14   #10
Kalphegor
Member
 
Kalphegor's Avatar
 
Join Date: Aug 2003
Location: Romania
Posts: 62
Send a message via Yahoo to Kalphegor
I have a player in Flash, see attachment.

Send me a private message for that if you want.
Attached Images
File Type: gif fmx_player.gif (35.6 KB, 237 views)
Kalphegor is offline   Reply With Quote
Old 11th September 2003, 01:54   #11
tsargs
Junior Member
 
Join Date: Sep 2003
Location: Singapore (Asia)
Posts: 7
That's Cool But Will It Work?

Hi,

Thanks for posting a reply. That's really cool. Is there any way to program the player to specifically play cd-audio? If you've read my earlier post you'll know that I'm trying to create an enhanced cd of my work. Upon insertion, the Autorun will launch a html page and I want the player embedded in the page to run the cd-audio (cda file format) to play automatically on this player. It's ok if the files don't play automatically but atleast the user should be able to hit "play" and the files on the cd will play. Hope you get what I'm saying. Let me know if this player can do that. The java winamp can't do that for sure. Thanks once again. Hope to hear from you soon. Cheers!
tsargs is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump