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

YT play button icon transition on page load #934

Open
heff opened this issue Jul 3, 2024 · 2 comments
Open

YT play button icon transition on page load #934

heff opened this issue Jul 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@heff
Copy link
Collaborator

heff commented Jul 3, 2024

When loading the page for the first time you can see the play button transitioning from the paused state to the play state. Not ideal.

This is likely a consistent issue across themes, but we can start by solving it in YT.

Possibly using the new @starting-style feature, though that may not apply if this is specifically from media-controller applying mediapaused to the button.

@heff heff added the bug Something isn't working label Jul 3, 2024
@shraddha761
Copy link

Would like to work on Assign this issue to me.

@heff
Copy link
Collaborator Author

heff commented Jul 9, 2024

@shraddha761 thanks for volunteering! After some testing I think adding mediapaused like in the issue description will work. But I'm finding it hard to test. Can you say if you see the play/pause icon transition on page load here? https://player.style/themes/yt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants