Skip to content

How to determine if a media is playing? #930

Answered by luwes
2Pacalypse- asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the feedback!

The best source of truth is still the slotted media element, I recommend using that for determining playing state.
With the media.paused and play, playing and pause events you should have everything you need.

We purposely built Media Chrome like this, it doesn't try to be a full player. Hope this helps, let me know if it doesn't make sense. Cheers!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 2Pacalypse-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #929 on June 24, 2024 15:01.