Add support to hook into the lock screen next and previous buttons in Media Element #2147
Replies: 1 comment 2 replies
-
Which API's are you on which platform? And which version of MediaElement are you using? Yes I agree they need to be added but knowing which version you are on will help me discover why the previous button is not working. ATM on some platforms it will just start current video/music from the beginning. It is not greyed out for all platforms and devices. I have been planning on adding previous and next but I have been working on adding other things first. I am pretty much done with other things now so I will start working on this. but I need ppl to upvote this to show support. To add this support I imagine changing the behavior of media element from replacing the media item when you change sources to having an add/remove and clear sources options? And/or add list of items. I don't think we should do anything but add the capabilities to do this and allow developers to do all the management of playlists. But simply adding support to add/remove/update and delete items in the list would be best. It can be implemented on all platforms easily. They all have native support for this feature. This would be a breaking change but to mitigate any issues we could support as a default option the current behaviour as is and have an add/remove/update/delete option with the default being replace if nothing else is selected? That would maintain current behaviour if developer makes no changes to their code but would allow us to update and add the new options. |
Beta Was this translation helpful? Give feedback.
-
I notice that the next and previous buttons are greyed out when using Media Element and the metadata features. Most other programs seem to have access to these. I would like to be able to enable them and hook into the pressed event for these so that I could hook up playlists etc.
Beta Was this translation helpful? Give feedback.
All reactions