I am having problems making the plugin not loop and to autounload
Viewing post in Video Player Plugin for RPG Maker MZ comments
The plug in command sends loop and autounload as the strings "true" or "false", instead of true or false.
Find
PluginManager.registerCommand(pluginName, "load", args => {
Video.load(args.id, args.filename, {
volume: args.volume,
shouldMute: args.optionsMute,
shouldLoop: args.optionsLoop,
shouldAutoUnload: args.optionsAutoUnload
});
});
and replace it with
PluginManager.registerCommand(pluginName, "load", args => {
Video.load(args.id, args.filename, {
volume: Number(args.volume),
shouldMute: (args.optionsMute === 'true'),
shouldLoop: (args.optionsLoop === 'true'),
shouldAutoUnload: (args.optionsAutoUnload === 'true')
});
});