Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Archive > Archives of Old Posts > Web Design and Development (archive)
TouchArcade.com - iPhone Game Reviews and News

 
 
Thread Tools Search this Thread Display Modes
Old Dec 24, 2004, 02:33 PM   #1
Bhennies
macrumors 6502
 
Join Date: Mar 2004
Location: NYC & Baltimore
Streaming audio for record label site....

Hi all...

sorry if this question is basic, but I'm looking to create a streaming audio on the index page of a record label site I'm working on (the mp3 will play on load). I would like to avoid using a proprietary format like flash or real or windows player...

I like how on the ninjatune page (http://www.ninjatune.net) it appears they've used CSS to control the audio.

Any pointers as to how I can achieve this effect?

(p.s. using dreamweaver)

thanks!
__________________
-15" PB, 1.33 ghz, 1.25 gig. RAM
-23" alu. cinema display
-30 gig iPod
Bhennies is offline  
Old Dec 24, 2004, 04:38 PM   #2
Poeben
macrumors 6502
 
Join Date: Jul 2004
The audio controls on that page are indeed done in flash.

Code:
Coldcut - Christmas Break<br><br><OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
	ID=interface WIDTH=228 HEIGHT=35><PARAM NAME=movie
VALUE=ninjafrontpageaudio.swf?soundoff=0&file=98><PARAM NAME=quality VALUE=AUTOHIGH><PARAM NAME=bgcolor VALUE=#000000>
If you right click on the "Audio Off" link, you will see it is a flash file. I was going to recommend using flash anyway, although there may be a way to do it without flash. You can probably do something similar using javascript, but css won't help you.
__________________
†Actual post may vary from original thought.
Poeben is offline  
Old Dec 24, 2004, 11:50 PM   #3
rozwell
macrumors regular
 
Join Date: Apr 2004
Location: San Francisco
Send a message via AIM to rozwell
you could do this in flash very easily, with no prior experience. you could do it in html, using embed tag i think, and it uses quicktime controls within your browser. dont know that code off the top of my head, but my roommate uses it often.
__________________
http://spolcyc.com/
rozwell is offline  
Old Dec 25, 2004, 11:41 AM   #4
Bhennies
Thread Starter
macrumors 6502
 
Join Date: Mar 2004
Location: NYC & Baltimore
cool. thanks guys. I'll probably just end up doing it in flash. No big deal. I just thought it was quite simple and classy looking with that style sheet- like effect.

Thanks!
__________________
-15" PB, 1.33 ghz, 1.25 gig. RAM
-23" alu. cinema display
-30 gig iPod
Bhennies is offline  
Old Dec 27, 2004, 05:12 PM   #5
ChicoWeb
macrumors 6502a
 
ChicoWeb's Avatar
 
Join Date: Aug 2004
Location: California
I had to struggle with this same issue as well. I decided to use Active X, but quickly realized that this wasn't the best method, as OS X doesn't support it. Flash would have taking 5 days to do each song and album, so I used .M3Us. Flash is probably best if you only have a few songs. Make sure your hosts supports the right mime types for .m3u's or .pls if you decide to use it.
__________________
ChicoWeb is offline  
Old Dec 27, 2004, 09:03 PM   #6
rozwell
macrumors regular
 
Join Date: Apr 2004
Location: San Francisco
Send a message via AIM to rozwell
IMO flash is the best for any type or rich media web content including video, because everyone has the flash player installed, and if not they should.
__________________
http://spolcyc.com/
rozwell is offline  
Old Dec 28, 2004, 06:18 AM   #7
davecuse
macrumors 6502
 
Join Date: Feb 2004
Location: NYC
Quote:
Originally Posted by rozwell
IMO flash is the best for any type or rich media web content including video, because everyone has the flash player installed, and if not they should.
Very true, and FireFox makes it so easy now... Maybe someday people will listen to Walt Mossberg...
davecuse is offline  
Old Jan 2, 2005, 09:04 PM   #8
ChicoWeb
macrumors 6502a
 
ChicoWeb's Avatar
 
Join Date: Aug 2004
Location: California
Quote:
Originally Posted by rozwell
IMO flash is the best for any type or rich media web content including video, because everyone has the flash player installed, and if not they should.
I agree until you have to rip/code/intall 1000's of tracks!
__________________
ChicoWeb is offline  
Old Jan 1, 2005, 09:59 PM   #9
Bhennies
Thread Starter
macrumors 6502
 
Join Date: Mar 2004
Location: NYC & Baltimore
hi all, so I built a little audio player in flash, and it seems to be working ok, but it stutters sometimes while streaming. I used a 160 kbps mp3, which is about the lowest quality I can tolerate, and it still doesn't seem to come fast enough. BTW, I have the audio set up for "stream" in keyframe 1 of my flash file. It doesn't seem to ever stutter on any of the other sites (ninjatune etc.). What could the reason be for this? You can check out my page if you like here:

http://www.bhennies.com

Thnx
__________________
-15" PB, 1.33 ghz, 1.25 gig. RAM
-23" alu. cinema display
-30 gig iPod
Bhennies is offline  

 

Mac Forums > Archive > Archives of Old Posts > Web Design and Development (archive)

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:32 PM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 2002-2009, MacRumors.com, LLC