node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


Youtube audio player

This module will help you play the audio of a youTube video


npm install youtube-audio-player

You will need to have ffmpeg and the necessary encoding libraries installed, as well as in your PATH. If you're on OSX, this can be handled easily using Homebrew (brew install ffmpeg). On Windows use


You can find the example usage in test/test-audio-spec.js

var yap = require('../index');{ url: '' });
//... audio starts playing now...
setTimeout(function () {
}, 3000);


Feel free to improve or add stuff. Make a pull request and I'll gladly merge and republish

Email me: m at marius dot in