Get the latest tech news
Plugin System
The plugin system allows you to extend IINA's functionality with JavaScript. You can control the playback, call the mpv API, access the network and file system, adding custom UI elements, and more.
Control the playback and get/set various status from the window frame to subtitle tracks. Access the mpv API with properties and hooks for advanced playback control. Register custom subtitle downloaders that integrates with IINA's user interface.
Or read this on Hacker News