No description
Find a file
Fathony Luthfillah 7451c6fe64
TrueTypeFont, Simple PlaylistEditor, scrollbars. (#1169)
* allow direct rgb as css color property

* + <wasabi:standardframe:modal:short>

* set Config, WinampConfig as global var

* normalize handleAction: del hardcoded trick

* mute console (noice reduction)

* allow internal themes in the theme list

* add (temporary) appearance to WasabiButton

* check points and add possible todo.

* yarn build, yarn serve

* Variable.guid is now optional

* + PLEdit (non gui) to hold mp3 tracks

* move eject,next,prev & <input> files to UIRoot

* trial update song-title on next/prev. (failed)

* track index correction, prettier

* show pl (GUI)

* avoid error on console log: audio interupted.

* del requirement of UI_ROOT, reg Object class.
ui_root will not be singleton in future.

* stop searching of a binding when founded.

* should never select any text.

* explicit return of a function

* avoid vscode problem (red warn on file name)

* PlayList primitive colors (bg,fg)

* plEdit: selected & currrent colors.

* +button.css, move any css of button.

* assure transparancy instead opaque

* safety when bitmap=null

* del dead code

* del dead code

* correction: studio.button instead wasabi.button

* prettier

* show scrollbar in pl (dummy)

* solve vscode/ts complain

* +common scrollbar

* always show scrollbar (full height) whatsoever.

* reposition that match. (taken from x2nie-dev)

* completing scrollbar dimensions.

* +text.shadow

* animatedlayer.onstop

* text.onchanged

* bugfix error: text-auto-wrapped.

* +some xui (drone skin)

* allow Time shown as Remaining (instead ellapsed)

* bugfix time remaining overalaped with kbps.

* comments of container types (prediction)

* bring window to most top on click.

* temporary case. (skin: drone)

* Complete Slider implementation about virtual thumb

* avoid red warning on filename of vscode.

* +dirty audio.analyzer (skin:MMD3)

* allow "vis" element to be position:absolute.

* trying skin:Warp_skin.wal (failed)

* avoid red warning on filename of vscode.

* +todo

* +api:setactivatednocallback

* pl: +slider,real. (instead of fake scroll element)

* PL slider moved when mouse wheel. (pasive)

* complete pl scroll.

* avoid red warning on filename of vscode.

* set ColorList bg

* cleanup, completing MMD3

* add Grip (pl scrollbar), cleanup.

* change where the build dir is.

Co-authored-by: Fathony <fathony@smart-leaders.net>
2022-05-07 12:11:37 -07:00
.github/workflows Try to fix tests 2022-03-10 00:06:27 -08:00
.yarn/releases Try locking Yarn version (#1066) 2021-02-13 19:50:09 -08:00
config Test server, including GraphQL endpoint 2022-03-09 21:40:01 -08:00
examples Enable top-level lint 2022-03-06 23:05:11 -08:00
packages TrueTypeFont, Simple PlaylistEditor, scrollbars. (#1169) 2022-05-07 12:11:37 -07:00
.editorconfig Format css according to prettier default config 2018-10-20 10:12:19 -07:00
.eslintignore Enable top-level lint 2022-03-06 23:05:11 -08:00
.eslintrc Enforce Prettier at the root 2022-03-06 23:08:43 -08:00
.gitattributes Move skin stuff to their own packages 2020-05-17 22:24:35 -07:00
.gitignore Add extend handlers for openUrl, load/save list (#991) 2020-05-24 08:33:58 -07:00
.prettierignore TrueTypeFont, Simple PlaylistEditor, scrollbars. (#1169) 2022-05-07 12:11:37 -07:00
.yarnrc Try locking Yarn version (#1066) 2021-02-13 19:50:09 -08:00
babel.config.js Unify tests into the top level workspace 2022-03-06 22:41:18 -08:00
deploy.sh TrueTypeFont, Simple PlaylistEditor, scrollbars. (#1169) 2022-05-07 12:11:37 -07:00
LICENSE.txt Fix links in root README 2020-07-03 22:02:09 -07:00
netlify.toml Add bot url alias 2021-04-21 21:14:33 -07:00
package.json Set the 2nd modern iteration as only one on (modern) track. (#1166) 2022-03-30 19:35:19 -07:00
README.md Fixes #1132 2021-11-11 20:03:23 -08:00
yarn.lock Bump node-fetch from 2.6.0 to 2.6.7 (#1146) 2022-04-02 00:17:49 -07:00

gzip size Tests Discord

Webamp

A reimplementation of Winamp 2.9 in HTML5 and JavaScript with full skin support. As seen on TechCrunch, Motherboard, Gizmodo, Hacker News (1, 2, 3, 4), and elsewhere.

Screenshot of Webamp

Check out this Twitter thread for an illustrated list of features. Works in modern versions of Edge, Firefox, Safari and Chrome. IE is not supported.

Add Webamp to Your Site

Here is the most minimal example of adding Webamp to a page:

<div id="app"></div>
<script src="https://unpkg.com/webamp"></script>
<script>
    const app = document.getElementById("app")
    const webamp = new Webamp();
    webamp.renderWhenReady(app);
</script>

For more examples, including how to add audio files, check out examples/ directory and the API documentation.

About This Repository

Webamp uses a monorepo approach, so in addition to the Webamp NPM module, this repository contains code for a few closely related projects and some pieces of Webamp which are published as standalone modules:

Community

Join our community chat on Discord: https://discord.gg/fBTDMqR

Related communites:

In the Wild

An incomplete list of websites using Webamp:

Thanks

  • Butterchurn, the amazing Mikdrop 2 WebGL implementation. Built and integrated into Webamp by: jberg
  • Research and feature prototyping: @PAEz
  • Beta feedback, catching many small UI inconsistencies: LuigiHann
  • Beta feedback and insider answers to obscure Winamp questions: Darren Owen
  • Donating the webamp NPM module name: Dave Eddy

Thank you to Justin Frankel and everyone at Nullsoft for Winamp which inspired so many of us.

License

While the Winamp name, interface, and, sample audio file are surely property of Nullsoft, the code within this project is released under the MIT License. That being said, if you do anything interesting with this code, please let me know. I'd love to see it.