Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#7319 closed enhancement (invalid)

[cla] dojox.Sound plugin

Reported by: William Riley Owned by: Adam Peller
Priority: high Milestone: tbd
Component: Dojox Version: 1.1.1
Keywords: dojox sound Cc:
Blocked By: Blocking:


I've ported Psych Desktop's sound API to dojox. I've attached a zip of the files. It contains the sound class, the flash swf+source, and a test page.

It abstracts between flash, HTML5 <audio>, and <embed> to play the sound.

Example usage:

dojo.require("dojox.Sound"); //MUST BE DONE BEFORE THE PAGE LOADS!!! (ex, in a <script> tag inside <head>)
var sound = new dojox.Sound({src: "/path/to/my/sound.js"});
	console.log("this sound backend has ID3 support!");
console.log(sound.duration(), sound.position(), sound.id3());

Attachments (1) (122.2 KB) - added by William Riley 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by William Riley

Attachment: added

comment:1 Changed 14 years ago by Tom Trenka

Resolution: invalid
Status: newclosed

I'm closing this ticket out as "invalid"...

After speaking with Will (the submitter), we're going to instead work on integrating this code into DojoX A/V and base it on Flex using deft; this will be a collaborative effort and should be handled sooner than later.

(i.e. it's not a bad patch but we're going to coordinate our efforts instead.)


comment:2 Changed 12 years ago by Thomas Bachem

This ticket was opened quite some time ago - has anything happened on better Audio support for Dojo(x) since then?

We're using dojox.FLAudio right now but would love a HTML5 solution for modern browser and iPad/iPhone/iPod platforms.

We could contribute to the further development of this stuff.

Note: See TracTickets for help on using tickets.