You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've looked around stackoverfow and multiple forums but they just use TrackSelectionDialog without sorting the format
[REQUIRED] Question
How can I sort the format inside TrackSelectionDialog ? I can't modify the videos as I'm just picking up the link from a WebService. Here is a screen of what I'm describing.
my TrackSelectionDialog displays the format in the following order: 480p, 720p, 1080p, 360p, 256p and I'd like to sort the format in the following order: 256p, 360p, 480p, 720p, 1080p.
There's no way to do this currently. I'll mark it as an enhancement.
In the meantime, it should be relatively easy for you to fork TrackSelectionDialogBuilder and TrackSelectionView into your own codebase, at which point you'll be able to customize them to exactly suit your use case.
ojw28
changed the title
How to sort trackSelectionDialog format
Support custom track ordering in TrackSelectionView / TrackSelectionDialogBuilder
Aug 4, 2020
We will use this issue to track adding support directly to the library, but in the meantime, yes, that's the easiest thing for you to do. You could also send a pull request directly to the project, if you're sufficiently motivated to do so!
[REQUIRED] Searched documentation and issues
I've looked around stackoverfow and multiple forums but they just use
TrackSelectionDialog
without sorting the format[REQUIRED] Question
How can I sort the format inside
TrackSelectionDialog
? I can't modify the videos as I'm just picking up the link from a WebService. Here is a screen of what I'm describing.my
TrackSelectionDialog
displays the format in the following order: 480p, 720p, 1080p, 360p, 256p and I'd like to sort the format in the following order: 256p, 360p, 480p, 720p, 1080p.This is my code:
The text was updated successfully, but these errors were encountered: