Ability to fire the media browser from any card as an action #11300
Replies: 9 comments
-
We;d love to have this feature. So we can launch the mediabrowser from another side. |
Beta Was this translation helpful? Give feedback.
-
An approach would be a service type like |
Beta Was this translation helpful? Give feedback.
-
Is there any update on this feature? This would add great possibilities. |
Beta Was this translation helpful? Give feedback.
-
+1, hopefully this is feasible and gets implemented soon. |
Beta Was this translation helpful? Give feedback.
-
That would not be the way to go, if we wanted to implement this, we should expose the |
Beta Was this translation helpful? Give feedback.
-
Please do consider it. It would make so much great use cases |
Beta Was this translation helpful? Give feedback.
-
I'd not consider custom-cards as a blocker for this when making changes, but notifying in some ways that changes are happening would be great (as it is for every other accessible components). Then I'd say it's up to the custom-card's dev to figure out what those changes are. I'd rather have the option and it breaking in a custom card at some point than not having the option at all. |
Beta Was this translation helpful? Give feedback.
-
I agree. This also works for other custom functions that are made available. |
Beta Was this translation helpful? Give feedback.
-
Any Update on this? |
Beta Was this translation helpful? Give feedback.
-
The request
I'd like to be able to display the media browser from a
media_player
entity from any card. Right now, firing theshow-dialog
event with thedialogTag: 'dialog-media-player-browse'
doesn't work because the media browser is not loaded. If it is loaded first though a standardmedia_player
card, it works. I wouldn't want to duplicate the media browser in a custom card.The alternatives
None
Additional information
Something like this below currently doesn't work in a custom-card unless it has been displayed before through a core media_player card.
dialogImport
is omitted as it would require to duplicate all the code from the media browser which is far from ideal.Beta Was this translation helpful? Give feedback.
All reactions