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

Controls not visible after update to HA 2021.11.2 and Media Player 1.14.0 #568

Closed
dgebhardt opened this issue Nov 9, 2021 · 25 comments
Closed
Labels
bug Something isn't working

Comments

@dgebhardt
Copy link

Screenshot 2021-11-09 at 18 52 56

Since the update (see versions above) the controls are no longer visible. Anyone else experiencing the issue? (it is the case no matter which style I select)

@thelvyn777
Copy link

Same here with HA 2021.11.2 and Player 1.13 and 1.14

@fabricepipart
Copy link

Ah OK i am not the only one then ;)

@fabricepipart
Copy link

fabricepipart commented Nov 12, 2021

Certainly related to #559 ...
Edit: For me, restarting HA (just to be sure I had no update that was not fully loaded) and clearing the cache (which I thought I had already done) solved the issue!
image

@fikustommy
Copy link

I also have this issue.
Hovering over the controls shows a "highlighted" circle, but no clue as to which button does what.
image
I tried restarting HA and cleared browser cache. I still have the issue.

core-2021.11.3
mini media player 1.14.0

@kalkih
Copy link
Owner

kalkih commented Nov 16, 2021

To the people who still have this issue after clearing cache, reinstalling the card in HACS & restarting HA, can you try in incognito mode?

If icons still doesn't show up after that... let me know what browser you are using.

@fikustommy
Copy link

I tried redownloading the mini media player card in HACS, emptying browser cache and localStorage, rebooting the HA host, updating it to 2021.11.4.
I still have the same problem.
Logging in using incognito mode in chrome, the buttons are back.
image

I don't know if this is related, but I get these errors in the chrome console:
image
I get the same errors in both incognito and "normal" mode, though.

@fikustommy
Copy link

An addition.
I had the same issue in the Android app.
Clearing the app's cache solved the problem immediately.
I guess clearing cache in desktop chrome is trickier. Where's this data cached?

@thelvyn777
Copy link

Same here with HA 2021.11.2 and Player 1.13 and 1.14

Dont know why but it was my Kody configuration which was reset, so check here too.

@roybosch
Copy link

I managed to clear the browser cache in chrome using "ctrl+h > clear browser data". I first tried this using the F12 console menu, but that didn't do the trick.

@jjwBullfrog
Copy link

Same problem here. HA 2021.11.5 and Player 1.15. I've cleared the cache in Chrome and on my iPhone (HA companion app). The icons come back for a while, but then disappear. Great HA add-on, I love it!

@roybosch
Copy link

Same problem here. HA 2021.11.5 and Player 1.15. I've cleared the cache in Chrome and on my iPhone (HA companion app). The icons come back for a while, but then disappear. Great HA add-on, I love it!

My issues aren't gone either after clearing the cache. Icons and info keep disappearing.

@Talvien
Copy link

Talvien commented Dec 10, 2021

Same issue here also after cache clearing in Chrome and restart.

@quizzical86
Copy link

Since November this happens to me occasionally both in the browser and on the Home Assistant Companion app on Android. I have no clue why the problem then suddenly disappears and some time later reappears.

@michaelhenningersrb
Copy link

Same problem here:

image

Any ideas?

@olehdutko
Copy link

The same issue

@jlbphotos
Copy link

jlbphotos commented Jan 14, 2022

Clear cache, tried different browsers, full restart of HA nuc, reloaded via hacs and rebooted.
deleted card recreated from examples still no buttons for power etc in lovelace :(

@jjwBullfrog
Copy link

I figured out how to fix it...downgrade to 2021.10.7...fixed! Hehe.

Seriously though, I'm looking forward to an actual fix. I love this card!

@kalkih kalkih added the bug Something isn't working label Jan 14, 2022
@michaelhenningersrb
Copy link

@kalkih Any news on this problem?

image

@jjwBullfrog
Copy link

I found my problem.

I had multiple links listed under resources for the "mini-media-player-bundle.js" file. Perhaps an update with HACS changed file locations and created duplicates?

The link I deleted was "/local/mini-media-player-bundle.js?v=1.9.1".
The link I kept is "/hacsfiles/mini-media-player/mini-media-player-bundle.js?hacstag=[string of numbers]]"

Perhaps this is the same problem as other? I hope it helps.

@Talvien
Copy link

Talvien commented Feb 13, 2022 via email

@kalkih
Copy link
Owner

kalkih commented Feb 13, 2022

Thanks for the replies.
Yes, the icon-button implementation in HA had a breaking change in HA 2021.11.0, we adjusted to this change in the v1.14.0 of this card.

If you have issues with invisible buttons, you are most likely loading an older version of the card, either from cache or through an old resource reference as suggested by @jjwBullfrog above. Please try clearing cache and check for (and delete) old or duplicate resource references.

@kalkih kalkih closed this as completed Feb 13, 2022
@kalkih
Copy link
Owner

kalkih commented Feb 13, 2022

#559

@jjwBullfrog
Copy link

Thanks for the replies. Yes, the icon-button implementation in HA had a breaking change in HA 2021.11.0, we adjusted to this change in the v1.14.0 of this card.

If you have issues with invisible buttons, you are most likely loading an older version of the card, either from cache or through an old resource reference as suggested by @jjwBullfrog above. Please try clearing cache and check for (and delete) old or duplicate resource references.

Hi @kalkih - The installation instructions still reference the local file path. If this is not the case, then maybe the installation instructions need updating? https://github.com/kalkih/mini-media-player

@michaelhenningersrb
Copy link

Thanks, @jjwBullfrog this solved it also for me ;)

@kalkih
Copy link
Owner

kalkih commented Feb 14, 2022

The installation instructions are still valid for when you want to install the card manually.

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