1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-22 03:08:33 +00:00
mpv/DOCS/man
Avi Halachmi (:avih) d223a63bc5 js: add javascript scripting support using MuJS
Implements JS with almost identical API to the Lua support.

Key differences from Lua:
- The global mp, mp.msg and mp.utils are always available.
- Instead of returning x, error, return x and expose mp.last_error().
- Timers are JS standard set/clear Timeout/Interval.
- Supports CommonJS modules/require.
- Added at mp.utils: getenv, read_file, write_file and few more.
- Global print and dump (expand objects) functions.
- mp.options currently not supported.

See DOCS/man/javascript.rst for more details.
2017-06-14 12:29:32 +02:00
..
af.rst af, vf: improvements to libavfilter bridge 2017-05-31 17:42:55 +02:00
ao.rst options: remove remaining deprecated audio device selection options 2017-04-23 17:51:55 +02:00
changes.rst manpage: mention the client API/interface change logs 2016-09-02 09:48:35 +02:00
encode.rst man: fix grammar issues 2015-12-19 09:26:41 +01:00
input.rst manpage, client API: add some clarifications when commands use OSD 2017-04-01 21:47:19 +02:00
ipc.rst manpage: document tricky issue with IPC observe_property command 2017-05-16 12:20:39 +02:00
javascript.rst js: add javascript scripting support using MuJS 2017-06-14 12:29:32 +02:00
libmpv.rst manpage: define stricter rules for C plugin return values 2017-01-14 17:41:04 +01:00
lua.rst manpage: replace gendered pronouns 2017-04-19 16:05:56 +02:00
mpv.rst js: add javascript scripting support using MuJS 2017-06-14 12:29:32 +02:00
options.rst vo_opengl: add new HDR tone mapping algorithm 2017-06-09 11:27:28 +01:00
osc.rst osc: add user_opts.boxmaxchars for box layout title limit 2017-04-19 20:35:58 +01:00
vf.rst af, vf: improvements to libavfilter bridge 2017-05-31 17:42:55 +02:00
vo.rst image_writer: remove useless formats 2017-03-18 14:24:53 +01:00