Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kagami/mpv.js
/ functions
Functions
49 in github.com/Kagami/mpv.js
⨍
Functions
49
◇
Types & classes
6
↓ 4 callers
Method
command
* Send a command to the player. * * @param {string} cmd - Command name * @param {...*} args - Arguments
index.js:69
↓ 4 callers
Method
node
* Return a plugin DOM node. * * @return {HTMLEmbedElement}
index.js:150
↓ 4 callers
Method
property
* Set a property to a given value. * * @param {string} name - Property name * @param {*} value - Property value
index.js:80
↓ 3 callers
Method
_postData
(type, data)
index.js:154
↓ 2 callers
Function
containsNonASCII
(str)
index.js:17
↓ 1 callers
Method
fullscreen
* Enter fullscreen.
index.js:133
↓ 1 callers
Function
getPluginEntry
* Return value to be passed to `register-pepper-plugins` switch. * * @param {string} pluginDir - Plugin directory * @param {string} [pluginName=mpv
index.js:33
↓ 1 callers
Method
keypress
* Send a key event through mpv's input handler, triggering whatever * behavior is configured to that key. * * @param {KeyboardEvent} event
index.js:100
↓ 1 callers
Method
toggleFullscreen
()
example/renderer.js:54
Method
CreateInstance
index.cc:375
Function
CreateModule
index.cc:381
Method
DidChangeView
index.cc:136
Method
GetProcAddressMPV
index.cc:200
Method
HandleMPVEvents
index.cc:224
Method
HandleMPVPropertyChange
index.cc:235
Method
HandleMPVUpdate
index.cc:260
Method
HandleMPVWakeup
index.cc:254
Method
HandleMessage
index.cc:155
Method
Init
index.cc:128
Method
InitGL
index.cc:267
Method
InitMPV
index.cc:284
Method
LoadMPV
index.cc:327
Method
MPVInstance
index.cc:109
Method
MPVModule
index.cc:372
Method
OnGetFrame
index.cc:333
Method
PaintFinished
index.cc:353
Method
PostData
index.cc:210
Method
PostPropertyChange
index.cc:217
Method
Render
index.cc:344
Method
_handleMessage
(e)
index.js:158
Method
componentDidMount
()
index.js:168
Method
componentDidMount
()
example/renderer.js:25
Method
componentWillUnmount
()
example/renderer.js:28
Method
constructor
(props)
example/renderer.js:10
Method
destroy
* Synchronously destroy mpv instance. You might want to call this on * quit in order to cleanup files currently being opened in mpv.
index.js:141
Method
handleKeyDown
(e)
example/renderer.js:31
Method
handleLoad
(e)
example/renderer.js:85
Method
handleMPVReady
(mpv)
example/renderer.js:39
Method
handlePropertyChange
(name, value)
example/renderer.js:45
Method
handleSeek
(e)
example/renderer.js:76
Method
handleSeekMouseDown
()
example/renderer.js:73
Method
handleSeekMouseUp
()
example/renderer.js:82
Method
handleStop
(e)
example/renderer.js:67
Method
observe
* Get a notification whenever the given property changes. * * @param {string} name - Property name
index.js:90
Method
render
()
index.js:171
Method
render
()
example/renderer.js:95
Method
togglePause
(e)
example/renderer.js:62
Method
~MPVInstance
index.cc:120
Method
~MPVModule
index.cc:373