ToshA_VideoGallery — Video Gallery & Player (RPG Maker MZ)
by ToshaAngel
What is it?
An in-game video gallery with a built-in player. Add entries via plugin commands, lock/unlock them, play by ID, or open the gallery any time (optionally from the main menu).
Engine: RPG Maker MZ File: ToshA_VideoGallery.js (see attachment below)
Features
Gallery view as list or grid with thumbnails and descriptions.
Player controls: play/pause, seek bar, volume, close.
Video scaling:
cover
复制代码
/
contain
复制代码
/
stretch
复制代码
.
Audio routed through RPG Maker’s
AudioManager
复制代码
.
Optional Main Menu entry (parameters:
addToMenu
复制代码
,
menuName
复制代码
).
Installation
[olist]
Copy ToshA_VideoGallery.js into
js/plugins/
复制代码
and enable it.
Put your videos in
movies/
复制代码
(e.g.
movies/intro.webm
复制代码
).
(Optional) Place thumbnails in
img/pictures/
复制代码
; if missing, a frame from the video will be used.
[/olist]
Plugin Commands
AddVideo — add/update entry (
id
复制代码
,
title
复制代码
,
videoFile
复制代码
,
thumb
复制代码
,
description
复制代码
,
unlocked
复制代码
).
UnlockVideo / LockVideo — change access by
ID
复制代码
.
RemoveVideo / ClearVideos — remove one or clear all.