kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.47k stars 206 forks source link

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

Open jdukat opened 2 months ago

jdukat commented 2 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.