Skip to content

Cannot play audio when passing an object as src #296

Open
@tehmaestro

Description

@tehmaestro

Not working: Version 1.0 (tried NEXT too)
Working: 0.6.2

When registering a sound like this: window.createjs.Sound.registerSound({mp3: src}, id, data); , I cannot play the the instance. No errors, no audio.

I think that the sound is being registered with src as a string, but when calling play, src is sent as an object. So, I think that in beginPlaying , when calling SoundChannel.add , var channel = SoundChannel.get(instance.src); returns null, as instance.src is an Object.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions