Hey everyone. After about 16 hours of tinkering, I'm ready to rip my hair out, so I'm hoping I can find some guidance here. Let me give you the history.
I'm creating an interactive website ui using rpg maker. After 150+ hours of work I'm really pleased and I like it a lot. Went to deploy it to web for debugging and ran into my first deployment issue. I was using Ramza's Pre Title Splash plugin to run a 'loading' movie before the title screen. Upon pulling it up to web I was met with an error that even Ramza couldn't understand as they had not tested it on web. After 10 hours of tinkering with that, I discovered how painfully simple it was: on desktop, files are not case sensitive, but on cpanel--they are. So just changing the case of the file call line fixed it...orrrr... nope. It led to the next issue. Turns out since 2018, you can't autorun a video on any browser unless one of two conditions are met. 1. the user has interacted with the page by clicking, tapping, etc. or 2. the video is muted by default. After 3 hours of research on that and tinkering with the code repeatedly... I decided that I don't know java well enough to get the syntax right and gave up, deciding to just run the loading screen AFTER the title screen, which would fulfill condition 1 above. That's where you come in.
I began tinkering again. I put the video as an autorun event on the main map. No matter what code I put in, the video would just play on an infinite loop. I tried break loop, I tried end process, I tried end event, I tried a self switch to a break loop page, nothing--but even though the video was endlessly looping, it was playing perfectly smoothly. I gave it another thinker... created a blank map with only 1 event on it. "play movie" and then "transfer player" to the main map. Eureka... oh nope. We have yet another problem. Now the video lags unbearably.
The details:
It is a 6 second long webm file with a 1.9mb file size. at 1080p.
The event couldn't be simpler. Look at the page here: https://ibb.co/ZLd6SrM
I've tried turning off all of my plugins and it still happens.
I've created a completely new game with 2 blank maps and it works perfectly.
I'm definitely a novice at... all of this. So pleeease help me, more experienced devs!
I'm creating an interactive website ui using rpg maker. After 150+ hours of work I'm really pleased and I like it a lot. Went to deploy it to web for debugging and ran into my first deployment issue. I was using Ramza's Pre Title Splash plugin to run a 'loading' movie before the title screen. Upon pulling it up to web I was met with an error that even Ramza couldn't understand as they had not tested it on web. After 10 hours of tinkering with that, I discovered how painfully simple it was: on desktop, files are not case sensitive, but on cpanel--they are. So just changing the case of the file call line fixed it...orrrr... nope. It led to the next issue. Turns out since 2018, you can't autorun a video on any browser unless one of two conditions are met. 1. the user has interacted with the page by clicking, tapping, etc. or 2. the video is muted by default. After 3 hours of research on that and tinkering with the code repeatedly... I decided that I don't know java well enough to get the syntax right and gave up, deciding to just run the loading screen AFTER the title screen, which would fulfill condition 1 above. That's where you come in.
I began tinkering again. I put the video as an autorun event on the main map. No matter what code I put in, the video would just play on an infinite loop. I tried break loop, I tried end process, I tried end event, I tried a self switch to a break loop page, nothing--but even though the video was endlessly looping, it was playing perfectly smoothly. I gave it another thinker... created a blank map with only 1 event on it. "play movie" and then "transfer player" to the main map. Eureka... oh nope. We have yet another problem. Now the video lags unbearably.
The details:
It is a 6 second long webm file with a 1.9mb file size. at 1080p.
The event couldn't be simpler. Look at the page here: https://ibb.co/ZLd6SrM
I've tried turning off all of my plugins and it still happens.
I've created a completely new game with 2 blank maps and it works perfectly.
I'm definitely a novice at... all of this. So pleeease help me, more experienced devs!