dancer.js icon indicating copy to clipboard operation
dancer.js copied to clipboard

using different runtime than soundmanager

Open fatshotty opened this issue 13 years ago • 2 comments

Hello there,

I'd like to use your dancer in my project. I wonder, has it been designed only for working with soundmanager? Is it possible to include a different runtime such as JWPlayer or JPlayer?

Thanks

fatshotty avatar Aug 01 '12 08:08 fatshotty

Right now, soundmanager2 is only used for the flash fallback -- in the new branch audioelement, this will implement tying dancer.js into any audio element, and controlled through the element's controls, or any other arbitrary player that uses an audio element

jsantell avatar Aug 01 '12 13:08 jsantell

With commit c01986643f587e8900dbda9b23695594509649d7, you can now use any audio element as a source -- SM2 is only used for the flash fallback. Right now the flash adapter is only using SM2 -- would it be of any use for there to be an explicit useAdapter() method so that you may specify your own adapter (being a jWPlayer, Jplayer adapter)? Also, I do not believe (could be wrong) that those flash players expose the audio data of what they're playing...

jsantell avatar Aug 09 '12 21:08 jsantell