webamp icon indicating copy to clipboard operation
webamp copied to clipboard

Prototype implementation for Add-URL.

Open Borewit opened this issue 7 years ago • 2 comments

Visually not close to the real thing.

Handy for bringing CORS free audio and WebAmp together.

Related issue: #695

Borewit avatar Oct 25 '18 18:10 Borewit

please this! i would happily add the necessary cors to my server so I could use a hosted version to play my files and playlists

vesper8 avatar May 06 '19 08:05 vesper8

I don't know a good way to expose this in the UI without it being very confusing to users. It make some sense to make it an optional feature that can be enabled by people using Webamp on their own self hosted sites, but even then, it would only really be useful for people who were only going to use the site themselves, since otherwise it would confuse their users.

One thing you could do is implement a custom FilePicker (see the filePickers option in the constructor documentation here: https://github.com/captbaritone/webamp/blob/master/docs/usage.md#construction).

That would not hook up to the "Open URL" button, but it would allow you to build a simple UI to paste in URLs.

Something else to keep in mind: Playlists are not yet supported due to CORS as well. You can follow this issue for updates on that: https://github.com/captbaritone/webamp/issues/693

captbaritone avatar May 06 '19 20:05 captbaritone