public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: YSP_VideoPlayer
  • Original author: Archeia
  • Original date: September 8, 2017
  • Source thread: https://forums.rpgmakerweb.com/threads/ysp_videoplayer.83758/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

: mirror.webm' : :Play video ID #1 : :Loop video ID #1 : :----------------------------------------------

Archived First Post

Video Player for RPG Maker MV
by Dr. Yami
Download Link
Source Code

upload_2017-9-8_9-29-33.png

Description
By default, RPG Maker MV only allows you one thing. Play a video. This is a plugin to have more control over videos such as looping, play multiple videos at once and play videos as the rest of the command events are initiating. This is great if you have video cutscenes and want messages to play.

How to use?
  • Use script call event command and you will be able to do any of the following:
    * ysp.VideoPlayer.loadVideo(videoName) - Preload Video
    * ysp.VideoPlayer.releaseVideo(videoName) - Release memory for a Video
    * ysp.VideoPlayer.newVideo(videoName, id) - Create new Video object with id
    * ysp.VideoPlayer.playVideoById(id) - Play a Video object by id
    * ysp.VideoPlayer.stopVideoById(id) - Stop a Video object by id
    * ysp.VideoPlayer.setLoopById(id) - Make a Video object playing loop by id
    * ysp.VideoPlayer.getVideoById(id) - Get Video object by id
    * ysp.VideoPlayer.isReady() - Check if all videos have been loaded
Here is an example case if I want the video to fade in and fade out:
Code:
◆Comment:This will preload the video
:       :----------------------------------------------
◆Script:ysp.VideoPlayer.loadVideo('mirror.webm')
◆Comment:This will check if the video is already in memory.
:       :----------------------------------------------
◆Loop
  ◆If:Script:ysp.VideoPlayer.isReady()
    ◆Comment:This will stop the loop.
    :       :----------------------------------------------
    ◆Break Loop
    ◆
  :End
  ◆
:Repeat Above
◆Fadeout Screen
◆Comment:This will set the following
:       :Video ID #1 : mirror.webm'
:       :Play video ID #1
:       :Loop video ID #1
:       :----------------------------------------------
◆Script:ysp.VideoPlayer.newVideo('mirror.webm', 1)
:      :ysp.VideoPlayer.playVideoById(1)
:      :ysp.VideoPlayer.setLoopById(1)
◆Fadein Screen
◆Text:None, Window, Bottom
:    :Wow! We have looping videos!
:    :And the text is showing!
:    :\}So\{ freaking \{cool!
◆Fadeout Screen
◆Comment:Stop the video
:       :----------------------------------------------
◆Script:ysp.VideoPlayer.stopVideoById(1)
◆Fadein Screen

To Submit a Bug Report
To make a bug report, simply report it in this thread.
Chances are, I will find out about the bug in this thread than by making one in the JS Support forum.

If your map reaches 10k+++ pixels I will ignore all reports about that.

Disclaimer:
We're super busy and we won't have time to do compatibility fixes or checks AT ALL. Please test it out yourself and ask the respective scripter for any issues that may happen.


>>>NOTE!<<<
HOWEVER, before you make a bug report! Download all the latest version of the plugins (and installing them properly). If you don't have the patience to do that, I won't share my patience to fix the bug. If you still get the bug after updating all the plugins and installing them properly, continue on and using this template:

Here is the template to submit a bug report:

Plugin Name: (What is the name of the plugin?)
Error Message: If you received an error message:
  1. Press F8 when you receive it to open up the debug console.
  2. On the console tab, copy/paste the error log and paste it here.
  3. If you post a screenshot, host it on imgur.com or another website because the images posted here are tiny and I can't read it.
How to Replicate Bug: In order for me to fix a bug properly, explain to me IN DETAIL, how you managed to get it to occur. If I cannot replicate the bug, I may ask you to upload a copy of your game's project for me online through either Mediafire, Dropbox, Mega.co or any other online hosting provider. Do NOT deploy the game. After doing so, it's best if you send it through private message if you don't want others rummaging through your game's files.

Other: Post screenshots of the bug, screenshots of your plugin list, videos also help, etc. Anything that will make it more clear for me will help me out.

Thank you for your cooperation!

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039

Replies (0)

No replies yet.

0 replies 5 views

Log in to reply.

User Avatar