GitHub - captbaritone/winamp2-js: A reimplementation of Winamp 2.9 in HTML5 and Javascript


47 bookmarks. First posted by pocotan001 november 2014.


Github repo
Name: winamp2-js
Tagline: A reimplementation of Winamp 2.9 in HTML5 and Javascript
Homepage: http://jordaneldredge.com/projects/winamp2-js/
Languages:
JavaScript = 272371 bytes
CSS = 25849 bytes
Python = 6957 bytes
HTML = 2534 bytes
Shell = 1465 bytes

[![Travis](https://img.shields.io/travis/captbaritone/winamp2-js.svg)]() [![Codecov](https://img.shields.io/codecov/c/github/captbaritone/winamp2-js.svg)]() [![Join the chat at https://gitter.im/winamp2-js/Lobby](https://badges.gitter.im/winamp2-js/Lobby.svg)](https://gitter.im/winamp2-js/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

# Winamp2-js

A reimplementation of Winamp 2.9 in HTML5 and JavaScript.

**As seen on [TechCrunch], [Motherboard], [Gizmodo], Hacker News ([1], [2], [3]), and [elsewhere](./press.md).**

## [Give it a try!](https://jordaneldredge.com/projects/winamp2-js/)

[![Screenshot of Winamp2-js](./preview.png)](https://jordaneldredge.com/projects/winamp2-js/)

Works in modern versions of Edge, Firefox, Safari and Chrome. IE is [not
supported](http://caniuse.com/#feat=audio-api).

## Features

Check out this Twitter thread for an illustrated list of features: https://twitter.com/captbaritone/status/961274714013319168

## Use Winamp2-js in your project **PRE ALPHA**

There are many websites that could potentially benefit from having Winamp embeded in them. That said, nobody that I know of is really doing this in production. In an attempt to try this out, I have published Winamp2-js as an NPM package. The API is far from stable as I don't actually know all the various use-cases it should support. Some potential ones are:

* A player that can load files from Dropbox using the [Dropbox JavaScript SDK](http://dropbox.github.io/dropbox-sdk-js/).
* A player that comes preloaded with a SoundCloud playlist.
* A player that's compatible with [https://github.com/justinfrankel/WHUMP] database files.
* A player that can be used to demonstrate skins on a skins website.
* A generic podcast widget.
* Something else?

You can attempt to use it in your JS project like so:

Install the package:

```
npm install --save winamp2-js
```

Create a DOM element somewhere in your HTML document:

```
<div id='winamp2-js'></div>
```

Initialize Winamp2-js in your JavaScript:

```JavaScript
import Winamp from 'winamp2-js';

const winamp = new Winamp({
initialTracks: [{
metaData: {
artist: "DJ Mike Llama",
title: "Llama Whippin' Intro",
},
url: "https://d38dnrh1liu4f5.cloudfront.net/projects/winamp2-js/mp3/llama-2.91.mp3"
}],
initialSkin: {
url: "https://d38dnrh1liu4f5.cloudfront.net/projects/winamp2-js/skins/base-2.91.wsz"
},
enableHotkeys: true // Enable hotkeys
});
// Render after the skin has loaded.
winamp.renderWhenReady(document.getElementById('winamp2-js'));
```

_Notes:_

* This should not be considered "production" code.
* Winamp2-js does not support Internet Explorer.
* Winamp2-js was built to run on its own page, it may not play well with surrounding CSS.
*...
github  programming  github-starred-to-pinboard 
february 2018 by brianyang
winamp2-js - A reimplementation of Winamp 2.9 in HTML5 and Javascript
winamp  javascript 
february 2018 by oppara
winamp2-js - A reimplementation of Winamp 2.9 in HTML5 and Javascript
winamp  javascript 
february 2018 by reorx
matthewmueller starred captbaritone/winamp2-js
github  development 
february 2018 by mattmueller
from ifttt: icco’s Activity https://github.com/icco
IFTTT  github  code 
february 2018 by icco
winamp reimplemented in js + html5
from twitter_favs
february 2018 by mawif
A reimplementation of 2.9 in HTML5 and Javascript provatelo da qui ☛ Winamp2-js…
from twitter
february 2018 by gpessia
A Reimplementation of Winamp 2.9 in HTML5 and JavaScript
from twitter_favs
february 2018 by ahigherugliness
Because if it can be done in Javascript, it shall be done in Javascript:
from twitter_favs
october 2017 by noahsussman
A reimplementation of Winamp 2.9 in HTML5 and Javascript
audio  github  mp3  windows 
october 2017 by semanticdreamer
- A reimplementation of Winamp 2.9 in HTML5 and Javascript
javascript  audio  github  funny-project 
september 2017 by lenciel
RT : Baller. reimplemented Winamp 2.9 in HTML/JS 👏
from twitter
september 2017 by jackysee
winamp2-js: A Reimplementation of Winamp 2.9 in HTML5 and JavaScript -
from twitter_favs
september 2017 by rukku
RT changelog : Baller. @captbaritone reimplemented Winamp 2.9 in HTML/JS 👏 http://bit.ly/2jVuEhl http://bit.ly/2y1JRno September 24, 2017 at 11:17PM http://twitter.com/changelog/status/911957655392006145
IFTTT  Twitter  ththlink 
september 2017 by seoulrain
Baller. reimplemented Winamp 2.9 in HTML/JS 👏
from twitter_favs
september 2017 by lokijuhz
A reimplementation of Winamp 2.9 in HTML5 and Javascript
audio  javascript  winamp  github 
september 2017 by awhite
winamp2-js: A Reimplementation of Winamp 2.9 in HTML5 and JavaScript -
from twitter_favs
september 2017 by GameGamer43
felixfischer starred captbaritone/winamp2-js
from:ifttt  github 
september 2017 by minipark
"A reimplementation of Winamp 2.9 in HTML5 and Javascript" finally
from twitter
september 2017 by fabianmoronzirfas
Whipping the Llama's ass...
Winamp  javascript  retro  music  player  webdev  humor 
september 2017 by asteroza
tempted 2 wire this up to your winamp skins zone:
from twitter_favs
september 2017 by tombubul
Baller. @captbaritone reimplemented Winamp 2.9 in HTML/JS 👏
javascript  mp3 
april 2016 by maks
A reimplementation of Winamp 2.9 in HTML5 and Javascript
javascript 
january 2015 by f440
winamp2-js - A reimplementation of Winamp 2.9 in HTML5 and Javascript
github  winamp  js  javascript 
november 2014 by torstenbergler
Layzie starred captbaritone/winamp2-js
from:ifttt  github 
november 2014 by Layzie
A reimplementation of Winamp 2.9 in HTML5 and Javascript
github 
november 2014 by pocotan001