Hey all!
First of all: thanks for the massive feedback you guys sent me in! The most wanted feature was a method to toggle play() and pause(). I added that in this release.
And the biggest glitch happend in the most important part of the class: the events. I forgot to implement the ‘Track Complete’ event, so I added that as well.
The following were added to the feature list:
- Events
- PlayrEvent.NEXT_TRACK
- PlayrEvent.PREV_TRACK
- TRACK_COMPLETE
- Methods
- togglePlayPause()
- registerTogglePlayPause()
Finally there were still a lot of traces in the class which I hadn’t removed before releasing. I removed those now, so your output window should stay clear of my traces
Furthermore: A few people have already been using Playr in real projects. I’ve added them to the showcase section of the site!
If you’re using Playr, feel free to send me a link to your project. I’ll be happy to add it to the list.
Download the updated Playr class here ![]()
I hope you guys like it! Feel free to suggest new features/report bugs and missing events.