- Joined
- Mar 17, 2012
- Messages
- 164
- Reaction score
- 150
- First Language
- French
- Primarily Uses
Zeus Video Player
by Zeus81
There are already many scripts to play video out there but this one is a little different in that it works in fullscreen too...by Zeus81
And have some other features.
- No screen flickering.
- Doesn't break fullscreen mode, F1 and F12.
- Can center or fit to screen videos with a different resolution.
- Optionally can quit before the end by pressing Enter/Escape.
- Pauses when focus is lost.
- You can choose the background image of the player (in case your video doesn't fill all the space)
It will automatically load the image named 'ZeusVideoPlayer' if found in Pictures folder.
If you're searching for a format that should play on almost all computers you may check this link : http://support.microsoft.com/kb/899113
How to Use
Graphics.play_movie( filename, cancellable, fit_to_screen )
- filename = path of the video file.
- cancellable = true if you want to allow the player to stop the video by pressing Enter or Escape, false otherwise.
This option can be omitted and default value is true.
- fit_to_screen = true if you want the video to be stretched to fit the screen in case it doesn't match, false if you just want it to be centered.
If you're using scripts like Fullscreen++ true is recommended.
This option can be omitted and default value is true.
ex : Graphics.play_movie( "Movies/prout.avi", true, true )
or Graphics.play_movie( "Movies/prout.avi" )
Script
https://www.dropbox.com/s/q933du4ix2r0cep/Zeus%20Video%20Player.rb
Last edited by a moderator:

