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

Created on 28 Mar 2020  路  3Comments  路  Source: kalkih/mini-media-player

Hello,
I installed both through HACS and manually but I always have this error:
"Custom element doesn't exist: mini-media-player."

ui-lovelace.yaml:
(file is under www folder)

resources:

  • url: /local/mini-media-player-bundle.js?v=1.6.0
    type: module

- type: custom:mini-media-player
  entity: media_player.tv_sala

Where am I wrong?
Thanks

Most helpful comment

Solved.
I deleted everything and I installed via CLI.
I restarted and now it works.

... if it can serve someone!!

All 3 comments

Try adding the .js file to: configuration -> lovelace control panel -> resources
url: /hacsfiles/mini-media-player/mini-media-player-bundle.js

Hi,
The reference is already there, I tried to put it as suggested, without success..

..

  • url: /local/community/mini-media-player/mini-media-player-bundle.js
    type: module
    ..

Any help? Thank you

Solved.
I deleted everything and I installed via CLI.
I restarted and now it works.

... if it can serve someone!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

magnusoverli picture magnusoverli  路  5Comments

orickcorreia picture orickcorreia  路  5Comments

rpitera picture rpitera  路  3Comments

nibblerrick picture nibblerrick  路  5Comments

fleXible picture fleXible  路  5Comments