profile
viewpoint
Isaiah Odhner 1j01 USA https://isaiahodhner.io art.power++; exploration.fear--;

1j01/98 368

💿 Web-based Windows 98 desktop recreation █████▓█▓▓▒▓▒▒░▒░░░🗕︎🗗︎🗙︎

1j01/anypalette.js 18

🎨 Load all kinds of palette files ❤🧡💛💚💙💜

1j01/ascii-hypercube 13

Make ASCII art with HYPERRECTANGLES

1j01/card-game-generator 9

🃏🎴 A tool for making/prototyping tabletop games

1j01/amg 5

DEPRECATED PROJECT IDEA - An abstracted modular game framework with integrated pixel editor and realtime asset manager and a level editor with dynamic block type definitions and a skeletal character animator and inverse kinematics and a game. Except no game.

1j01/bookmarklets 4

🔖 Fun functions, surreal when applied to websites you're familiar with

1j01/1bpp 2

one bit per pixel game

1j01/apparatus 2

A hybrid graphics editor and programming environment for creating interactive diagrams.

1j01/atom-jspaint 2

View and edit images in an Atom editor with jspaint

1j01/board-game 2

☖☗ A 2 player 3D board game of chance (and strategy)

push eventsyxanash/awesome-web-desktops

Simone Marzulli or simply /^syx.*$/

commit sha 287e190d74b9b07c24a167d541c7f6bcf87bcea5

add new sites found via reddit

view details

push time in an hour

started1j01/98

started time in 9 hours

issue opened1j01/jspaint

Ability to make a window modal window

Currently when you open two or more windows, there is no attribute to make one window a modal so that all other windows and also application's main menu can not be click on unless the modal window is closed first. This is good to prevent certain actions when a window is opened as a modal window

created time in 13 hours

issue commentmattdesl/canvas-sketch

Hooks

Is it possible to use canvas-sketch in a react application as of now?

mhyfritz

comment created time in 13 hours

started1j01/wavey

started time in 21 hours

push eventcaptbaritone/webamp

Jordan Eldredge

commit sha 8faea644b27f5e6b9d447fa47b08689fcddfc22a

Add missing semi

view details

push time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

https://github.com/captbaritone/webamp/commit/fb7f702793898c1adb3285cf1701981f858964b1

lexterror

comment created time in a day

push eventcaptbaritone/webamp

Jordan Eldredge

commit sha fb7f702793898c1adb3285cf1701981f858964b1

Make it a little more clear that `renderWhenReady` does not return the Webamp instance.

view details

push time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

Ah yes. renderWhenReady() does not return the webamp instance, so you can't call close on the return value of that.

I'll update the minimal example to make that a little more clear.

lexterror

comment created time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

It finally worked! Thank you!

lexterror

comment created time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

https://ibb.co/HDKfcYW

lexterror

comment created time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

Could you try using <script src="https://unpkg.com/webamp@1.4.2/built/webamp.bundle.min.js"></script> instead and see if that works?

I just tried:

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
</head>

<body>
    <div id="app" style="height: 100vh">
        <!-- Webamp will attempt to center itself within this div -->
    </div>
    <script src="https://unpkg.com/webamp@1.4.2/built/webamp.bundle.min.js"></script>
    <script>
        const Webamp = window.Webamp;
        const webamp = new Webamp({
            initialTracks: [{
                metaData: {
                    artist: "DJ Mike Llama",
                    title: "Llama Whippin' Intro"
                },
                url: "https://cdn.jsdelivr.net/gh/captbaritone/webamp@43434d82cfe0e37286dbbe0666072dc3190a83bc/mp3/llama-2.91.mp3",
                duration: 5.322286
            }],
        })
        webamp.renderWhenReady(document.getElementById('app'));
        webamp.close();
    </script>
</body>

</html>

And that works.

lexterror

comment created time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

<script src="webamp.bundle.min.js"></script>

I'm using the latest version you posted yesterday.

lexterror

comment created time in a day

issue commentcaptbaritone/webamp

unable to close or reopen

Can you show me how you are importing Webamp? The only thing that immediately comes to mind is that you are somehow still getting the old version.

lexterror

comment created time in a day

started1j01/jspaint

started time in a day

GollumEvent

issue closedcaptbaritone/webamp

Spotify support?

Hi!

Long time ago there was pair of implementations of Spotify client with Winamp skin (for Windows only). And I looked closed PRs in this repository - the questions of webamp integration with Spotify were closed many time ago (because there was some restrictions). Now open Spotify api exists (https://developer.spotify.com/documentation/web-api/), and there is a lot of full-working Spotify unofficial clients (like https://github.com/hrkfdn/ncspot). Typescript library exists too (https://www.npmjs.com/package/@types/spotify-api). So what about an idea to integrate webamp with Spotify, with playlists, search, user library, artist page and other features? I think it may be a excellent collaboration between eras:)

closed time in a day

egorgam

issue commentcaptbaritone/webamp

Spotify support?

Check out https://winampify.io by @remigallego. It can't use some aspects of Webamp (balance/visualizations) but it does work quite well.

egorgam

comment created time in a day

issue openedcaptbaritone/webamp

Spotify support?

Hi!

Long time ago there was pair of implementations of Spotify client with Winamp skin (for Windows only). And I looked closed PRs in this repository - the questions of webamp integration with Spotify were closed many time ago (because there was some restrictions). Now open Spotify api exists (https://developer.spotify.com/documentation/web-api/), and there is a lot of full-working Spotify unofficial clients (like https://github.com/hrkfdn/ncspot). Typescript library exists too (https://www.npmjs.com/package/@types/spotify-api). So what about an idea to integrate webamp with Spotify, with playlists, search, user library, artist page and other features? I think it may be a excellent collaboration between eras:)

created time in a day

issue openedoldrich-s/musicope

Cannot find npm install nor npm start

I've downloaded the thing, but I can't really find the npm install and start files, am I doing something wrong? my first time using github here, so help would be more than appreciated.

created time in a day

started1j01/jspaint

started time in a day

started1j01/jspaint

started time in 2 days

started1j01/98

started time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

I tried that just now and chrome says webamp.close(); is not a function. It says the same thing for webamp.reopen();

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

Sure,

<script> const webamp = new Webamp({ initialTracks: [ { metaData: { artist: "VA", title: "Classic FM" }, url: "http://media-sov.musicradio.com:80/ClassicFM", duration: 0 }

        ],
    }).renderWhenReady(document.getElementById('app'));

webamp.renderWhenReady(domNode); webamp.close(); </script>

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

You'll need to call it on the variable that you get from new Webamp().

Something like:

const webamp = new Webamp(/* config options */);
webamp.renderWhenReady(domNode);
webamp.close();

Can you share any code with me?

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

I would think I could just call webamp.close() webamp.reopen() from anywhere, but chrome says it's not a function...

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

I'm using 1.4.2 (I just download it a few minutes ago)

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

I've been looking at your example.. I'm trying to call reopen and close from outside const webamp...

lexterror

comment created time in 2 days

issue commentcaptbaritone/webamp

unable to close or reopen

Does the example here help at all? https://codesandbox.io/s/y0xypox60z?file=/src/index.js

Can you confirm that you are on version 1.4.2?

lexterror

comment created time in 2 days

more