Play movie after choosing a skill in battle.

I'm trying to play a short movie when the player attacks based on what skill they chose. But so far I've only managed to get one to play after the attack happens. I did this by creating a common event to play a movie, then attaching it to the skill itself. I found a short script by efeberk here: https://www.rpgmakercentral.com/topic/17259-a-video-playing-when-using-skills/

That doesn't seem to work, I thought that since I'm using Reedo's Simple Side Battle system currently that might've been why. But then I started another file w/o that script and it still doesn't work. Is there a way without scripts that I'm missing? Or a script out there that achieves this, that I didn't manage to find?
The script itself contains instructions:
Code:
#  -------------------------------------------------
#  Script Name : Play Movie before skill
#  Scripter : efeberk
#  Date : 29.07.2013 07:28
#  Version : RPG Maker VX Ace(RGSS3)
#  ------------------------------------------------
#
#  How to:
#   
#  Just add a little text to skill notetag
#
#  <movie: x>
#
#  x = movie name
You are not supposed to use a common event, you should use a note. Did you try doing as the instructions say?
Yeah, sorry I guess I forgot to mention it. I tried the common event method first, then I found a script that does what I'm looking for. And I removed the common event, and then wrote the required information in the note as the instructions say. And it didn't work, which brings me here. Actually, here's a screen shot:
Script.PNG

I've tried it w/o the "Skill #1 will be used when you select the attack command." And I've tried it on other skills just in case for some reason the script doesn't work on the basic attack command function.
Well, I just tested the script in a blank project and it actually works so there must definitely be something wrong with your project/video. Here are few tips:
  1. Be sure your video is saved as .ogg (RMVXAce only plays those videos)
  2. Be sure your video name is correct (it might sound idiotic but you have no idea of how many issues are actually caused by typos)
  3. This script overwrites the use_item method so if you have anything that aliases that method be sure to place it BELOW this one
NOTE: if you have other scripts that overwrite the use_item method then there is not way this is compatible with those.

If you are not sure about which script is preventing this from working then open a blank project, copy this script there and start adding script one by one and testing after adding each script. When it stops working you found the one that's causing the issue.
Few battle system scripts overwrite use_item method, including mine and the popular Yanfly Battle Engine.
If you have custom battle system, it's likely why. Try to search CTRL+SHIFT+F, write "def use_item"
Placing the script below the battle system could also breaks the battle system, I'd recommend don't do that.
If it was really the cause, making patch for it shouldn't be too hard
Ok I figured it out, after creating a new project w/ only the script in question it still didn't work. From then on I had a hunch that the name was throwing it off, since that was the only thing that could be messing with it, thanks @Heirukichi. It turns out that the script won't work if the name has a "-" in it. I simply removed the "-" and it worked just fine.
Glad you solved this. Anyway be careful when using that script with other scripts that overwrite that method.

Original thread: https://forums.rpgmakerweb.com/threads/play-movie-after-choosing-a-skill-in-battle.95962/