Is there a way to launch media-browser popup using a custom:button-card and browser mod so I can view my Sonos Favorites?
You can do this e.g. with an iframe window, but for that you have to use the external address of your HA instance as it needs https:// address.
type: custom:button-card
show_name: false
icon: mdi:play-box-multiple-outline
tap_action:
action: fire-dom-event
browser_mod:
service: popup
data:
title: Media Browser
hide_header: false
large: false
content:
type: iframe
url: https://yourHAaddress.com/media-browser/browser
aspect_ratio: 200%
Thanks for that. I’m assuming there’s no way to launch this popup without iframe the same way we’re able to launch this popup using the media player?
Not that I’m aware of. A built-in action/service would be great for that though.
Yeah for sure. Thanks for helping me get this far. Appreciated.
1 Like