The worst MP3 player in the world
With the help of Buzz.js and some jQuery I have built possibly the worst mp3 player in the world. It has the same amount of functionality as you would expect from a Happy Meal mp3 player.
See the Pen eNqJqr by Donald McKendrick (@ddmck) on CodePen.
var track1 = new buzz.sound("/public/sounds/ninja.mp3");
$("#play").click(function(){
track1.play();
});
$("#pause").click(function(){
track1.pause();
});
$("#stop").click(function(){
track1.stop();
});
$("#volUp").click(function(){
track1.increaseVolume(10);
});
$("#volDown").click(function(){
track1.decreaseVolume(10);
});
Song is Against the Ninja by Dragon Sound. It can be heard in the greatest bad movie of all time.