miru-project / miru-app

🎉 A versatile application that is free, open-source, and supports extension sources for videos, comics, and novels, available on Android, Windows, and Web platforms.
https://miru.js.org
GNU Affero General Public License v3.0
4.16k stars 167 forks source link

Allow extensions to return qualityMap for mp4 URLs #311

Open cweiske opened 4 days ago

cweiske commented 4 days ago

Describe your suggested feature

The Miru video player shows the current video resolution in the lower left ("1920x1080"). When clicking on it, it only shows "No quality available" for mp4 videos - only HLS allow quality selection.

It would be nice if extensions could return multiple URLs from the watch() method, together with video quality/resolution labels.


Example: The media.ccc.de API provides URLs for different resolutions and formats. https://api.media.ccc.de/public/events/68eadd0f-8415-4e85-a2f2-451dc69a2428

Acknowledgements