wp-blocks / vinyl

Audio player block for WordPress.
Other
3 stars 0 forks source link

Add a global player #12

Open johnhooks opened 5 months ago

johnhooks commented 5 months ago

As a knowledgeable block editor user, I want a global player block, so that users can initiate playing audio from multiple sources, though only have one possible audio source playing.

Problem

The current implementation of the audio player block is standalone, each has it's own source and player controller. This means the details of what is playing are lost when the element is scrolled away from, also it would need to be found again in order to mute or pause (there are some browser controls for this, though not super intuitive).

Solution

Add a global player that would remain at a fixed location on the screen and would follow the user, providing information about what is playing and access to player controls.

Thoughts

References