Skip Movide/Video

Hello do you know any plugins that lets you skip a movie with the click of a button?
For example you click esc and the movie is skipped.

I tried LTN skip_video which works fine for me, but for some other people its causing errors. I dunno how to solve that, so looking for any alternative.
Hello! Try this:
JavaScript:
Graphics._video.currentTime=Graphics._video.duration;

To define the key, create an event in parallel process that checks if a video is running:
Code:
◆If:Script:Graphics.isVideoPlaying()
  ◆If:Button [Cancel] is pressed down
    ◆Script:Graphics._video.currentTime=Graphics._video.duration
    ◆
  :End
  ◆
:End

With Javascript:
JavaScript:
if(Graphics.isVideoPlaying()){
    Graphics._video.currentTime=Graphics._video.duration
}

If it has helped you, let us know here.

Edited:
Sorry I showed the method in RMMZ, I corrected it now.
Thanks! I think I got things working as it should now 🙂
Hello! Try this:
JavaScript:
Graphics._video.currentTime=Graphics._video.duration;

To define the key, create an event in parallel process that checks if a video is running:
Code:
◆If:Script:Graphics.isVideoPlaying()
  ◆If:Button [Cancel] is pressed down
    ◆Script:Graphics._video.currentTime=Graphics._video.duration
    ◆
  :End
  ◆
:End

With Javascript:
JavaScript:
if(Graphics.isVideoPlaying()){
    Graphics._video.currentTime=Graphics._video.duration
}

If it has helped you, let us know here.

Edited:
Sorry I showed the method in RMMZ, I corrected it now.
What's the mz version?
Hello, I don't understand how this works. Where exactly do you put all those codes ? Can someone explain more clearly ?
Hi, glad you're interested.
There are three methods of use, but you should only use one, whichever best suits your game event that features the video.

I recommend using by event command:
To define the key, create an event in parallel process that checks if a video is running:
Code:
◆If:Script:Graphics.isVideoPlaying()
◆If:Button [Cancel] is pressed down
◆Script:Graphics._video.currentTime=Graphics._video.duration
◆
:End
◆
:End

Create a common event in parallel process activated by a Switch.
Inside that event enter the commands the way I showed.

In the event of the video, activate the Switch before starting the video.
Hi, glad you're interested.
There are three methods of use, but you should only use one, whichever best suits your game event that features the video.

I recommend using by event command:


Create a common event in parallel process activated by a Switch.
Inside that event enter the commands the way I showed.

In the event of the video, activate the Switch before starting the video.
Cancel as in exc? Didn't work for me...
@tinkie99
You didn't give any information, saying that something just doesn't work doesn't generate parameters to try to understand the cause of the problem...
@tinkie99
You didn't give any information, saying that something just doesn't work doesn't generate parameters to try to understand the cause of the problem...
Just followed instructions, but I get a script error in my console, but I probably misunderstood anyway, I just noticed u didn't reply to my mz question, but to someone else's and u probably posted the mv version
I'm sorry...
So, the pro RMMZ command is really different, but the functions are practically the same.

#1: We are not in the "category" about RMMZ, so I try not to break the rules.

Spoiler
#2: In general, I only give support to those who give me reactions, because it shows a good sense of recognition that I was of some help, which, as strange as it seems to me, is very difficult to happen even when I receive comments that I actually posted the solution that solved their problem, despite being something so simple and very obvious within the system of the forum itself.

#3: Anyway I believe that encouraging people to read and study by trying it themselves is the best way out and develops logical reasoning ability, so good luck.

Once again I apologize for my English is a little bad.
I'm sorry...
So, the pro RMMZ command is really different, but the functions are practically the same.

#1: We are not in the "category" about RMMZ, so I try not to break the rules.

Spoiler
#2: In general, I only give support to those who give me reactions, because it shows a good sense of recognition that I was of some help, which, as strange as it seems to me, is very difficult to happen even when I receive comments that I actually posted the solution that solved their problem, despite being something so simple and very obvious within the system of the forum itself.

#3: Anyway I believe that encouraging people to read and study by trying it themselves is the best way out and develops logical reasoning ability, so good luck.

Once again I apologize for my English is a little bad.
It's okay i'll try to figure it out, I have 0 script knowledge so xD

Original thread: https://forums.rpgmakerweb.com/threads/skip-movide-video.139807/