kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.53k stars 207 forks source link

Custom element doesn't exist: mini-media-player - HACS installation #840

Open jdukat opened 7 months ago

jdukat commented 7 months ago

Hi, I know there are many issues already regarding "Custom element doesn't exist", but I claim there's still some bug to be fixed.

I installed the mini-media-player in my HA using HACS and added it to dashboard. Works on my PC, but on Android (both web browser and companion app) there is this error "Custom element doesn't exist". Also on PC, when connecting to HA via Cloudflared tunnel instead of local network, the same problem happened.

I solved the problem following info here: https://github.com/kalkih/mini-media-player/issues/211 I additionally installed the mini-media-player-bundle.js according to the Manual installation step here (UI mode): https://github.com/kalkih/mini-media-player#simple-install

So now I have 2 instances of media player (HACS and manual), and now it works, but I still think it is a bug, because every time HACS will get updated, I'll have to manually update the local installation as well.

Kevman82 commented 3 weeks ago

I did the following and the issue was resolved:

  1. Go to HACS
  2. Search for Mini Media player
  3. Click the 3 dots on the right
  4. Then click on "Redownload"
  5. When the pop-up window opens, click "Download".
  6. Click on "Reload" to reload the browser.