NoCrypt / migu

Stream anime torrents, real-time with no waiting for downloads
https://miguapp.pages.dev/
GNU General Public License v3.0
109 stars 5 forks source link

[Feature Request]: More popout controls #1

Open yoinked-h opened 1 month ago

yoinked-h commented 1 month ago

Preflight checklist

Problem Description

popout thing only have button to open app

Proposed Solution

button to pause it without opening app would be neat Miku 02_st ayaka one

NoCrypt commented 1 month ago

might be tough/impossible to implement this since miru uses HTML as popup for showing up the subtitle on popup mode. We can use the normal video popup to bring back those buttons but then it will lose the subtitle on popup...

NoCrypt commented 1 month ago

So I did my research and found out that Navigator.mediaSession don’t work in cordova as Android webview don’t support them.

I tried a few plugins for it, and found out the latest maintained one was ingageco/capacitor-music-controls-plugin

But sadly all of them some issue regarding to webpack and their minifier and terser. So weird, if anyone know how to fix it please make a PR, thanks!

NoCrypt commented 1 month ago

Made a new issue for the "webpack and their minifier and terser" -> #2

NoCrypt commented 1 month ago

Almost there #3

NoCrypt commented 4 weeks ago

Merged: https://github.com/NoCrypt/migu/commit/d618a52624dfc7ae271fc800cf60e76fe94a391d

NoCrypt commented 4 weeks ago

https://github.com/NoCrypt/migu/commit/f67b70e8a4aa6a0e47fbbb77fd874fed485802f6

Borked, reverted for now :<