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...
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
本贴来自国际rpgmaker官方论坛作者:Zeus81处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/zeus-video-player.6392/