You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am working on a auto-expanding media card. one thing i noticed which i think is a bug is that when i go to play music on the media player, media players usually follow a state sequence of idle-buffering-playing and sometimes there are two buffering steps. I noticed, using chrome tools, that the background image for the music source appears when state is idle or playing, but disappears when state is 'buffering'. I did look at the dev tools in home assistant and the media_player attribute for background image does NOT change when in buffering state.
For my self collapsing card (and the default media card), this causes a blinking of the background image in the button during these buffering states.
To Reproduce
Play any media using a bubble card media player card and watch the CSS for background image
Expected behavior
There is probably a conditional statement in the code for displaying the actual background image that needs to have added the state of buffering.
Screenshots
If applicable, add screenshots to help explain your problem.
YAML
If applicable, add any relevant YAML code.
Your code here
Informations (please complete the following information):
home assistant 2025.4.3
Additional context
Add any other context about the problem here.
Thank you! 🍻
The text was updated successfully, but these errors were encountered:
Using this code, it just grabs the attribute for the image URL and just overrides the auto-determined one which i assume is determined in the module. With this style code above, the background image continues to show even when the state changes to buffering.. however it would be great to solve this without needing this style code
For any feature request you can open a new discussion here:
https://github.com/Clooos/Bubble-Card/discussions/categories/feature-requests
For any question you can open a new discussion here:
https://github.com/Clooos/Bubble-Card/discussions/categories/q-a
Describe the bug
I am working on a auto-expanding media card. one thing i noticed which i think is a bug is that when i go to play music on the media player, media players usually follow a state sequence of idle-buffering-playing and sometimes there are two buffering steps. I noticed, using chrome tools, that the background image for the music source appears when state is idle or playing, but disappears when state is 'buffering'. I did look at the dev tools in home assistant and the media_player attribute for background image does NOT change when in buffering state.
For my self collapsing card (and the default media card), this causes a blinking of the background image in the button during these buffering states.
To Reproduce
Play any media using a bubble card media player card and watch the CSS for background image
Expected behavior
There is probably a conditional statement in the code for displaying the actual background image that needs to have added the state of buffering.
Screenshots
If applicable, add screenshots to help explain your problem.
YAML
If applicable, add any relevant YAML code.
Your code here
Informations (please complete the following information):
home assistant 2025.4.3
Additional context
Add any other context about the problem here.
Thank you! 🍻
The text was updated successfully, but these errors were encountered: