Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add mujs (close #788) #922

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ahaoboy
Copy link

@ahaoboy ahaoboy commented May 16, 2024

Add mujs so that js scripts can be run on Android devices

@NBruderman
Copy link

#788

@sfan5
Copy link
Member

sfan5 commented Jun 4, 2024

FYI: I'm still not decided that I want to add more scripting-related stuff because right not there isn't even a good way to insert scripts into mpv-android.

@ahaoboy
Copy link
Author

ahaoboy commented Jun 4, 2024

But this does not conflict with the support of js scripts, and it does not increase the size much. I am trying to implement a cross-platform mpv script package management tool, maybe I will find a way to support Android

@ahaoboy
Copy link
Author

ahaoboy commented Jun 10, 2024

I tested it on a VR device, and the js script can run correctly, amazing!!!

Screenshot_is xyz mpv_2024 06 10-21 32 40 394_756

script="/storage/emulated/0/Android/media/is.xyz.mpv/scripts/mpv-easy-es5.js"
osd-fonts-dir="/storage/emulated/0/Android/media/is.xyz.mpv/fonts

Screenshot_is xyz mpv_2024 06 10-23 59 10 706_350

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants