We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ef2dc commit ff65ac5Copy full SHA for ff65ac5
index.js
@@ -41,7 +41,11 @@ function getPluginEntry(pluginDir, pluginName = "mpvjs.node") {
41
}
42
43
if (containsNonASCII(pluginPath)) {
44
- throw new Error("Non-ASCII plugin path is not supported");
+ if (containsNonASCII(fullPluginPath)) {
45
+ throw new Error("Non-ASCII plugin path is not supported");
46
+ } else {
47
+ pluginPath = fullPluginPath;
48
+ }
49
50
return `${pluginPath};${MPVJS_MIME_TYPE}`;
51
0 commit comments