Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player: continue playing after page navigation #18

Open
gillesdutilh opened this issue Sep 24, 2024 · 3 comments
Open

Player: continue playing after page navigation #18

gillesdutilh opened this issue Sep 24, 2024 · 3 comments

Comments

@gillesdutilh
Copy link

I presume this is not trivial, but a functionality that would greatly improve the user experience would be a player that continues playing when you navigate across the website.
Now, I realize that this is something that must become really challenging when you want to allow "federated navigation" while playing. I think that can only be done with an external player, right?

(by the way: Hi Ben, was great meeting you on the FediForum!)

@benpate
Copy link
Contributor

benpate commented Sep 24, 2024

Hey Giles! Yeah, it was cool to meet at FediForum, glad we could connect :)

You're right, making a player that persists across pages is not trivial. But fortunately, it's not impossible, either.

Emissary uses the htmx library for all of its client-side, browser features. The newest version (2.0) includes some features that should make this easier, when I can upgrade to it. It'll also take rewriting some aspects of the player, but it needs a bunch of improvements as it is. So right now, the list looks like:

  • Persist player across page reloads
  • Standardize, and clean up the way playlists are created (htmx + markup if possible)
  • Allow player to be embedded in other pages
  • Add "scrub bar" and volume controls
  • Possibly support video content too?

I'm probably spending the next month or so on more logistical details, so I'm putting this further into the future for now. But this is a great suggestion that I want to get to. Thank you!

@benpate benpate moved this to Future in Bandwagon Launch Sep 24, 2024
@benpate benpate changed the title Playing during navigation Player: continue playing after page navigation Sep 24, 2024
@gillesdutilh
Copy link
Author

Sorry for the late reply, cool that you took this on your list.
I think in the end, one would certainly want to have a player that works across servers, not only pages, right? In the ideal situation, one would have a bandwagon player (that may live in a browser window), that allows to browse any (other) bandwagon server, right?

@benpate
Copy link
Contributor

benpate commented Nov 8, 2024

Yes. And this is an important part of the discovery roadmap.

I'm not exactly sure of the architecture just yet. I think it may be a separate page, or even a separate web service from a band's album pages. So (like Apple Music) if you're on an album, you play only that album. But if you go to some kind of library, radio station, or mix-tape, then you can play everything from that collection instead. I think Funkwhale already does something like this.

I'd like to do it across servers, and even across platforms, bringing in (consenting) sites that use FairCamp, Funkwhale, Mirlo, or whoever else wants to join the party. It's ambitious, so we'll have to see how much of this is possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Medium Term
Development

No branches or pull requests

2 participants