YSP_VideoPlayer

This is a great plugin!

I'm sorry if this has been answered before, but what is the usage license for this script?
Hello,

I have read about this plugin and it works fine for me, except for one thing.
The ysp.VideoPlayer.releaseVideo(videoName) doesn't seem to do what it's supposed to.

When I play the video in the game and the user can stop at any time, whenever the video stop I request a releaseVideo which should allow the video to restart from frame 0.
Yet somehow, it doesn't.

issue.png


This event is set in Auto mode to prevent players from moving while the video is playing.
Everything works fine, I have no errors in the console but when the player wants to play the video, it start where it left of (if it stop at 10 second, it will start at 10 sec next time).

Am I doing it wrong ?

Thanks for this great plugin. 🙂
This is a great plugin!

I'm sorry if this has been answered before, but what is the usage license for this script?

Use for commercial/non commercial game just give credit I guess.


When I play the video in the game and the user can stop at any time, whenever the video stop I request a releaseVideo which should allow the video to restart from frame 0.
Yet somehow, it doesn't.

It's not our intended use of our plugin but we provided the source code. Unfortunately, we (Yami and I) stopped using MV so we have no will to work or update our MV plugins.
Unfortunately, we (Yami and I) stopped using MV so we have no will to work or update our MV plugins.

I understand, thanks for all your work. I will figure a way out. 🙂
Hi, will there be a MZ version of this plugin available in the future?
Hi, will there be a MZ version of this plugin available in the future?
I'm desperately in need of an MZ version, as well!
I put a pull request into the repo for a change that fixes video playback in newer versions of nw.js. I'm not sure how actively maintained the repo is at this point, though.
This might be a decent alternative. Have not tried it yet but have heard good things. Let me know if it works well. https://github.com/masked-rpgmaker/JS/blob/master/mv/MBS_AsyncMovies.js
SCRIPT CALL ERROR
YEP_CoreEngine.js:2810 ysp.VideoPlayer.loadVideo(video edit)

YEP_CoreEngine.js:2811 SyntaxError: missing ) after argument list
at Game_Interpreter.command355 (YEP_CoreEngine.js:1857)
at Game_Interpreter.executeCommand (rpg_objects.js:8930)
at Game_Interpreter.update (rpg_objects.js:8838)
at Game_Map.updateInterpreter (rpg_objects.js:6115)
at Game_Map.update (rpg_objects.js:6022)
at Game_Map.update (RS_WalkingStepSound.js:815)
at Game_Map.update (MOG_ChronoEngine.js:1589)
at Scene_Map.updateMain (rpg_scenes.js:608)
at Scene_Map.updateMainMultiply (rpg_scenes.js:600)
at Scene_Map.update (rpg_scenes.js:589)
SCRIPT CALL ERROR
YEP_CoreEngine.js:2810 ysp.VideoPlayer.loadVideo(video edit)

YEP_CoreEngine.js:2811 SyntaxError: missing ) after argument list
at Game_Interpreter.command355 (YEP_CoreEngine.js:1857)
at Game_Interpreter.executeCommand (rpg_objects.js:8930)
at Game_Interpreter.update (rpg_objects.js:8838)
at Game_Map.updateInterpreter (rpg_objects.js:6115)
at Game_Map.update (rpg_objects.js:6022)
at Game_Map.update (RS_WalkingStepSound.js:815)
at Game_Map.update (MOG_ChronoEngine.js:1589)
at Scene_Map.updateMain (rpg_scenes.js:608)
at Scene_Map.updateMainMultiply (rpg_scenes.js:600)
at Scene_Map.update (rpg_scenes.js:589)

It already tells you here:
YEP_CoreEngine.js:2811 SyntaxError: missing ) after argument list

That means your script call is missing a )
I put a pull request into the repo for a change that fixes video playback in newer versions of nw.js. I'm not sure how actively maintained the repo is at this point, though.
There's an alternative player which works perfectly with the stuttering fix (updated nw.js or pixi, can't remember).
Look through the forum "PKD". Was really bad videos stuttering on 1-3 fps before for something like 20% of players.
He already tells you here:

Yep_coreengine. Js :2811 syntaxerror: does not exist) after the argument list




This means that your script call is missing a)

What does that mean? What am I doing wrong script?

F

It already tells you here:
YEP_CoreEngine.js:2811 SyntaxError: missing ) after argument list

That means your script call is missing a )

What does that mean? What am I doing wrong script?
He already tells you here:

Yep_coreengine. Js :2811 syntaxerror: does not exist) after the argument list




This means that your script call is missing a)

What does that mean? What am I doing wrong script?

F



What does that mean? What am I doing wrong script?

Check your script call.
Also.

TheBreaker24998, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.



and also:
​
How to Replicate Bug:
In order for me to fix a bug properly, explain to me IN DETAIL, how you managed to get it to occur. If I cannot replicate the bug, I may ask you to upload a copy of your game's project for me online through either Mediafire, Dropbox, Mega.co or any other online hosting provider. Do NOT deploy the game. After doing so, it's best if you send it through private message if you don't want others rummaging through your game's files.

Other: Post screenshots of the bug, screenshots of your plugin list, videos also help, etc. Anything that will make it more clear for me will help me out.
Hi!
I've been testing this plugin a bit and it seems very promising. I have one issue though: Is there anyway I can make this play on top of an image? Like setting it to image nr 2? This way you can have image nr 1 in the background and play the movie on top of it.
I want to report a bug or something like a bug.
I've tested the YSP Player and it's very good. I make a lot of short videos which are looping very good. The duration of a video is approximately from 7 to 8 seconds. The size is also approximately from 5MB to 8MB. Everything works fine until the moment I decide to compress the size of the videos. Now they're 745KB to 854KB (not the exact number, but this size). In my game, the player can take quests. Each quest has a video to show the player what happens in the story of the game. Now the videos with a short period of time stop looping. When a video is about to play it just stops at the start. I have a "Gallery" in my game where the player could watch those videos when unlocks them. The videos there are looping fine, but when a short video is about to play during a quest it stops. This kills the feeling of playing it somehow. There's a text during the video, I thought this cause the issue, but it's not. The size of the game before compression is 5GB when it's compressed is 900MB. I think is the size of the videos, but when I use the command "Play Movie" of RPG Maker MV they work fine. Is something of the memory or looping. I really don't know. I hope someone has an idea of how to fix it.
I want to report a bug or something like a bug.
I've tested the YSP Player and it's very good. I make a lot of short videos which are looping very good. The duration of a video is approximately from 7 to 8 seconds. The size is also approximately from 5MB to 8MB. Everything works fine until the moment I decide to compress the size of the videos. Now they're 745KB to 854KB (not the exact number, but this size). In my game, the player can take quests. Each quest has a video to show the player what happens in the story of the game. Now the videos with a short period of time stop looping. When a video is about to play it just stops at the start. I have a "Gallery" in my game where the player could watch those videos when unlocks them. The videos there are looping fine, but when a short video is about to play during a quest it stops. This kills the feeling of playing it somehow. There's a text during the video, I thought this cause the issue, but it's not. The size of the game before compression is 5GB when it's compressed is 900MB. I think is the size of the videos, but when I use the command "Play Movie" of RPG Maker MV they work fine. Is something of the memory or looping. I really don't know. I hope someone has an idea of how to fix it.
It's not just this plugin. I have the same issue when looping videos with the event handler. That's why I went looking for this plugin in the first place. The strange thing is that sometimes the compressed videos work better, while at other times the non-compressed videos work best. Some videos may work fine many times, but suddenly when you play them again they instantly crash and then crash every time thereafter. I believe it's RM MV issue in general.
Change the way you compress the video. It's a compression related problem guys.
For some reason this don't seems to work for me. I have tried everything I could. Double checked all the script calls, but nothing worked. Every time I tried any event using this plug in, it just keep on looping, but no video plays. I am at loss right now. I will greatly appreciate if someone can help me.
scripts.PNG
For some reason this don't seems to work for me. I have tried everything I could. Double checked all the script calls, but nothing worked. Every time I tried any event using this plug in, it just keep on looping, but no video plays. I am at loss right now. I will greatly appreciate if someone can help me. View attachment 198318

◆Script:ysp.VideoPlayer.loadVideo('mirror.webm')

you forgot your extension.
◆Script:ysp.VideoPlayer.loadVideo('mirror.webm')

you forgot your extension.
I tried both with and without extension. But didn't work either way. 🙁

Original thread: https://forums.rpgmakerweb.com/threads/ysp_videoplayer.83758/