Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Can't get videos to play a second time?

A topic by darkofeden created Sep 06, 2023 Views: 152 Replies: 8
Viewing posts 1 to 4

Hello,

Before I jump into it, it's worth nothing I'm running the MZ version on the 1.7.0 version of RPG Maker MZ

Just bought the plugin a few hours ago and have been trying to get it working properly. Main problem is, I can't get a video to trigger a second time. For instance, as a test I have it set so I click on an object and a test video plays and it works fine. Problem is, if I exit the video early or wait for it to finish I can never get it to play a second time. Whether I click on it again, or have a second object next to it that I can click on and play a video it just won't play again. It seems to play what I think is the last frame of the video again but that's it. Any help? I've been desperately searching for a WHILE now for a plugin that would allow for pausing and skipping videos so I would love to get this problem fixed or troubleshoot it :)


Thank you.

Developer

Good day, what's your event setup for the video player?

(1 edit)

I've tested just the standard plugin command of Play video and again, either waiting for it to finish or ending it early has the same issue. 


I've also tried a version with the play video function and then adding a conditional branch to it that's set to "If: Button [OK] is being pressed" and then the plugin command for End video and again that works, but then it's never able to play that second video a second time.



 Have also messed with the Auto Reserve Video being off and on and doesn't seem to make a difference.


EDIT: I have also tried making a completely fresh new game project and still got the same bug

Developer

If you try playing another video after that, do you get the same issue with the different video?

Developer

Oh looks like the issue is when the video completes fully instead of restarts immediately?

To solve this problem, you may avoid using the 'end video' command. Instead,   you may use the 'play video' command, but using an invalid name. For example, if none of the videos in your file is called 'ben', you may use the 'play video' command and set the name as 'ben', it will serve the same function as the 'end video' command.

Though the setting is in Chinese, I think you may get it.


Developer

What version of the plugin are you using here if I may ask?

I think it's the latest one

Developer

Thanks!