question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom element doesn't exist: mini-media-player after git pull

See original GitHub issue

I updated the mini-media player and now I get

Custom element doesn't exist: mini-media-player.

I have:

resources:
  - url: /local/mini-media-player/mini-media-player.js
    type: module

and

      - type: entities
        title: Media
        entities:
        - type: custom:mini-media-player
          entity: media_player.mpd
          #name: Media
          group: true
          show_source: true
        - type: custom:mini-media-player
          entity: media_player.kitchen
          name: Küche
          artwork: cover
          group: true
          hide_info: true
          # hide_power: true
          # hide_volume: true
          # show_source: true
          hide_controls: true

anything wrong with that? I also cleared the cache but still no luck.

I can access:

http://<hassip>:8123/local/mini-media-player/mini-media-player.js

so it should be all good…

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
snizzleorgcommented, Oct 15, 2018

@kalkih Thanks for the quick fix! works as expected!

0reactions
loic-moriamecommented, Nov 20, 2020

Hi! I have the version installed Home Assistant 0.117.6. “Custom element doesn’t exist: mini-media-player.” During installation writes what you need to insert in lovelace: url: /hacsfiles/mini-media-player/mini-media-player-bundle.js type: module Where exactly to insert, can you show a screenshot? Thanks.

Since Home Assistant 0.117, you need to add manually ressources for Lovelace Dashboards (dashboard made from the admin panel, not in yaml files)

config general config lovelace dashboard

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom element doesn't exist: mini-media-player. #437 - GitHub
I received the same error "Custom element doesn't exist: mini-media-player". I manually added 'resources' but using the URL of "/local/community ...
Read more >
SOLVED: Updated HACS ... custom tiles not working! - Frontend
My Lovelace tiles are getting “Custom element doesn't exist: mini-graph-card” and “Custom element doesn't exist: mini-media-player” for the two ...
Read more >
Need Help Adding Mini Media Player : r/homeassistant - Reddit
I added mini media player through HACS but when I go to add a card manually I get " Custom element doesn't exist:...
Read more >
Mini-media-player NPM | npm.io
A minimalistic yet customizable media player card for Home Assistant Lovelace UI. Inspired by Custom UI: Mini media player and custom-lovelace. Preview Image ......
Read more >
Installation for yaml-mode - UI-Lovelace-Minimalist
Installation for yaml-mode · Create a folder themes in your config folder · Add this under the section frontend in your configuration.yaml :...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found