logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > Javascript and JS frameworks
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 05-27-2011, 02:00 PM   #1
henryhayes
 
Join Date: Jan 2011
Posts: 57
Default Use JS to control audio players?

I have created an audioplayer as a SWF which i would like to use several times on a website. The problem is that the players overlap each other when started; when starting player no 2 with no 1 already running, i get two different songs playing on top of each other.

Is it possible to use javascript to connect and make the individual players stop and start?
henryhayes is offline   Reply With Quote
Old 05-27-2011, 02:04 PM   #2
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

I have no done it, but yes, in theory it could work.
domedia is offline   Reply With Quote
Old 05-27-2011, 02:19 PM   #3
henryhayes
 
Join Date: Jan 2011
Posts: 57
Default

Googling the issue it seems like im not the only one who wants to find a solution.

You have any idea where to look for answer or ask the question?
henryhayes is offline   Reply With Quote
Old 05-27-2011, 09:18 PM   #4
henryhayes
 
Join Date: Jan 2011
Posts: 57
Default

For anyone interested in the issue, Dan Muzyka has an impressive tutorial which combines Flowplayer's audio-version, JQuery and CSS/HTML to place several mp3players on a website. Havent tested it yet, but looks promising.

What Dan Muzyka acchieved is actually just what i was looking for! Except for the use of the Flowplayer! I just want the startbuttons, no bullshit popping out.

If anyone has other suggestions / solutions please post.

http://www.danmuzyka.com/blog/cool-a...le-audio-clips

http://flowplayer.org/

Last edited by henryhayes; 05-27-2011 at 09:26 PM..
henryhayes is offline   Reply With Quote
Old 05-27-2011, 09:35 PM   #5
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

You could use Audioplay where you can also use multiple players on one page. Clicking on another on will stop playing the previous one.
The paths to the mp3's and controlling the player is through a XML file.
http://www.strangecube.com/audioplay/
__________________
www.gentlemedia.nl
gentleone is offline   Reply With Quote
Reply


Thread Tools
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


All times are GMT. The time now is 09:04 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com