I love this component!
Made some changes so that when a media player is paused, the media info text is grayed out (“disabled”) and the volume slider/buttons are removed. Found it easier to get an overview.
Here is what I did: I created a new file with your beta code and saved it as mini-media-player?ver=0.8-beta.js in www. Then I changed the resource in the ui-lovelace to the same name.
The answer I get is "Custom element doesn’t exist: mini-media-player.
Your yaml code for the card looks good.
Try replacing your current mini-media-player.js with this version. and then change your reference as below (make sure the path matches the location of your mini-media-player.js):
I’m sorry but I don’t know what to say more than to double check your files and paths. The only changes done to the card are style changes and can’t cause this error.
Ok, that’s great, I’m still not sure what’s causing this issue though.
Thanks for all the information, hopefully I’ll figure this out sooner than later.
hi @kalkih, I have artwork_border set to true, but I’m not seeing the border or I’m not understanding how to use it properly. Also, adding a title still leaves the old title on the card - is that by design?
Thanks
Hey, artwork_border doesn’t work with artwork: cover, that’s on purpose, I should clarify that in the instructions though.
As for the title, in your example it looks like you wrap mini-media-players inside an entities card with a title set. If you don’t want that outer title, remove it from your entities card.
The mini-media-player can’t alter things outside it’s own card, so this is by design.