Skip to content

Add a global player #12

@johnhooks

Description

@johnhooks

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

  • This would require adding a more complex player state.

  • Allows adding playlists and player queue.

  • If the player were to use the Interactivity API, and the website use the interactive navigation, the player state would remain consistent between page navigation, allowing an uninterrupted experience.

  • This could allow the player to queue "up next" or push the new audio in front, keeping the location of the previous audio for when it is resumed.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions