Closed kreopt closed 9 years ago
second commit avoids the situation when players attached to DOM container by specifying node overwrite each other cause string representation of HTMLElement is [object Object]. I'd change this behaviour to get container id to resolve player name.
It would be nice to have these split into separate PRs.
Also, you must fix the build error (the code style does not follow the project guidelines)
done
Thanks for this! :+1:
It's very convenient and cleaner to chain player events like this: player.on(evt1,cb1).on(evt2,cb2). So another little patch included.