This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to fire the media browser from any card as an action #7145
Comments
We;d love to have this feature. So we can launch the mediabrowser from another side. |
An approach would be a service type like |
Is there any update on this feature? This would add great possibilities. |
+1, hopefully this is feasible and gets implemented soon. |
That would not be the way to go, if we wanted to implement this, we should expose the |
Please do consider it. It would make so much great use cases |
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. |
I agree. This also works for other custom functions that are made available. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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.The text was updated successfully, but these errors were encountered: