Script to have movie play before title screen

Hi! I was wondering if anyone knows a script that's free for commercial use that lets me have a movie splash screen that plays before title screen. 
Code:
class Scene_Title < Scene_Base    alias start_movie start  def start    Graphics.play_movie('Movies/' + name_of_movie)    start_movie  endend
Take note that this plays every time you go to Title Screen. If you only want it to show at the opening of the game
Code:
class Scene_Title < Scene_Base  $play_movie = true  alias start_movie start  def start    if $play_movie      Graphics.play_movie('Movies/' + name_of_movie)      $play_movie = false    end    start_movie  endend
Thank you, beautiful! I'll try it and let you know!
Hi! It wouldn't work at first but it did when i put " before and after the movie name. I'm actually using vindaca's animated title screen but they don't work together =( is there a way to have em workin together? He's been MIA for a bit.

Update:

Never mind! Changed the order and it worked. Movie Splash script after the animated title screen script
His script probably overrides the whole start method so when you placed him before mine it basically just made my script not recognized by the system. 🙂
Is the only extension that can be used is .ogv?

What if I want to use video the extension .mp4?

I tried to use .ogv video and the video quality is so bad and can't be playing smoothly.

Original thread: https://forums.rpgmakerweb.com/threads/script-to-have-movie-play-before-title-screen.41471/