Closed ahaoboy closed 2 weeks ago
Correct, you can't turn it off.
Correct, you can't turn it off.
Is it possible to provide a compilation option to turn it off? I am trying to use js to implement a cross-platform UI similar to uosc, so the default is not needed
You would have to remove all UI code from MPVActivity
. Still then an OSC would not work because touch interactions don't get passed through to libmpv.
touch interactions don't get passed through to libmpv.
That's a pity, only need to support touch events to achieve basic functions
I tried running the project once and it went smoother than expected. At least the UI part can be rendered normally. It may be necessary to support the vertical preview mode. Those who are interested can download and experience it, https://github.com/mpv-easy/mpv-easy/releases/download/v0.1.6-alpha.27/mpy-easy-android.zip
The first problem I encountered was that I used a special font to display the icon, but it was obviously not found, so the anim4k shader could not be found either.
It's just a click-and-click interaction, which should do about 60% of the work.
I have two questions I would like to ask. I would be grateful if you could answer.
- Is it possible to turn off the ui in MPVActivity by adding a switch in the settings without deleting the code?
Possible, definitely. But I wouldn't say that it makes much sense in the big picture.
Are mpv's interaction events not received by mpv because they are captured on android ? , or does mpv itself not support android click events ?
libmpv does not support any kind of input events on Android. So any input events have to be passed through by adding support code to MPVActivity
or MPVView
.
Thanks for the very nice project, it doesn't seem to be easy, seems like I can only wait for someone else to solve the problem
It seems that the default UI is not osc of mpv? Turning off osc in the mpv.conf does not take effect