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

how to communicate with iina by code #875

Closed
KawhiZhuuu opened this issue Jul 18, 2017 · 4 comments
Closed

how to communicate with iina by code #875

KawhiZhuuu opened this issue Jul 18, 2017 · 4 comments

Comments

@KawhiZhuuu
Copy link

I want to add iina to my project.But iina does not generate a framework like ijkplayer.It can only product an 'IINA.app'. So what I only can do is communicate with this app?
If so, what should I do if I want to play a local path or network url.

Finally, I hope I can use it in my app rather than two apps.

@ghost
Copy link

ghost commented Jul 18, 2017

Related to #58.

@KawhiZhuuu
Copy link
Author

@MEGADR01D do you mean I should communicate with iina by "you-get"?
But I do not want to load another project to make my project becoming bigger.T_T
Can I communicate with iina by apple's function, just like NSWorkspace's openFile?

@lhc70000
Copy link
Member

IINA is a fully functional App, not a framework. Please use mpv (as IINA does) if you want to embed a player in your App.

You can pass the file path to IINA's binary, e.g. .../IINA.app/Contents/MacOS/IINA path/to/file before we adding more support for terminal/CLI.

@KawhiZhuuu
Copy link
Author

thank you @lhc70000

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

No branches or pull requests

2 participants