The m4a format is only used on iOS and possibly Android, from my understanding. However, a web game could technically end up being played on iOS, so theoretically, a web build should contain both formats (I think).
MV makeVideoPlayableInline is not defined (listed advices did not help)
RPG Maker MV SupportI tested it and it worked in Chrome, but in Firefox I had to force the use of OGG because it simply didn't produce any sound:
Only do this if you have full knowledge of how to back up or restore the original files. In my case, I only did it with the content that comes with RPG Maker, not the add-ons:
JavaScript:
AudioManager.audioFileExt = function() {
return '.ogg';
};
Only do this if you have full knowledge of how to back up or restore the original files. In my case, I only did it with the content that comes with RPG Maker, not the add-ons:
Another thing I did was reduce the quality of all the OGG files after deleting the M4A files using FFMPEG. So, it went from 163 MB to 27 MB. Since none of the songs have vocals, the quality isn't bad; I tested it on different devices
Thank you a lot for the help, i will try that! And may your coffee never end.
I am curious, could it be that the other files did not load the same way? I have an error with one image, "%zoe-sing" located at \img\characters. Also i am missing few sounds, they don't give an error, but simply do not play, for example "Gun1" from \audio\se
Is there a way to fix them like you did? Or it will not work with files that are crucial and used by the game?
Well, it's kind of strange to see a % sign in filenames, it can be confusing when requesting the file URL from the hosting, since it's used in situations like spaces becoming
But in your case it seems like a slow file reading process, or a lack of permission, as I explained before, the M4A format is not currently used by Android browsers.
%20, ! becoming %21, and so on.But in your case it seems like a slow file reading process, or a lack of permission, as I explained before, the M4A format is not currently used by Android browsers.
Not the m4a for sure, since i am using only the ogg. And what is weird, that the majority of audio functions just fine. Only few dialogue lines and pistol shot sound are missing for some reason.
But that is less important than missing picture, since game will not work without it. But i guess i will have to ask the site owner to look into that, since it is working fine if not uploaded.
But that is less important than missing picture, since game will not work without it. But i guess i will have to ask the site owner to look into that, since it is working fine if not uploaded.
If they are missing, an error will be displayed on the screen.
Try using DEBUG mode and check if they were actually loaded.
The good thing is that you don't need to do this through the browser because of the IFRAME, the service itself has a tool for this (Attached)
Try using DEBUG mode and check if they were actually loaded.
The good thing is that you don't need to do this through the browser because of the IFRAME, the service itself has a tool for this (Attached)
Oh, thanks, didn't know about that.
Weird thing is, while this image is on screen -
All assets are passed. But they do not update, which probably means that the error happens before level is loaded, so the new assets do not appear in the debug.
And via browser debug i see this. The error seems to be "400 Invalid URI: isHexDigit".
Quess need to report that to the platform owner?
And same thing about audio file, but this time it is "403 Forbidden"
It looks like the URL is not being properly encoded. It should be %25zoe-sing.png, but it's actually %zoe-sing.png. I think your best bet is to rename the file to remove the %
As I said here:
It's a wild guess, but I think some of those files aren't OGG, despite the extension.
This is very strange; if it were direct hosting, you could change the permissions, but in this case, you might need to batch convert the files back to FFMPEG.
It's a wild guess, but I think some of those files aren't OGG, despite the extension.
Right, and my point was that it looks like something should be percent-encoding the URL (replacing % with %25) but isn't, resulting in an invalid URL.
Sorry, I meant that I thought it was implied that he shouldn't use that symbol in the file names.
The strange thing is that even without fully understanding the platform, I was able to test most of the audio and image files without difficulty. This leads me to wonder if some of his files might contain Cyrillic characters that, during decoding or extraction from the ZIP file when uploading, were replaced by acceptable characters, as happens in browsers that don't accept that encoding:
The strange thing is that even without fully understanding the platform, I was able to test most of the audio and image files without difficulty. This leads me to wonder if some of his files might contain Cyrillic characters that, during decoding or extraction from the ZIP file when uploading, were replaced by acceptable characters, as happens in browsers that don't accept that encoding:
The filename was caused by the default plugin file identifier.
The problem is that if i change it to other identifier, it will still try to load the % version of the file for some reason. I think it might be because the qsprite editor itself isn't made to work with different format, at least this is what help file says, and i see nothing about changing it -
But then again, why do plugin has the option to change identifier then? It says this is if default plugin settings are used, but what if non default?
Unfortunately, we've reached a point that involves other third-party plugins.
Just try the tip I gave to fix the sound effects and possibly the music.
Just try the tip I gave to fix the sound effects and possibly the music.
Regarding the music, i have both m4a and ogg files, and neither of those are played. Also, the playse command does not specify which file is played, how does the game determines that?
Well, in this case I recommend creating a new project in RPG Maker, a very simple one, just with some map events to play sound effects, and upload it to a new game on the account.
If no sound or music plays, it means there's some kind of blockage, and this could also be due to a plugin, so test it with this new project.
Edit:
This is all assuming that you've already tried playing other people's games on this platform and didn't have the same problem.
If no sound or music plays, it means there's some kind of blockage, and this could also be due to a plugin, so test it with this new project.
Edit:
This is all assuming that you've already tried playing other people's games on this platform and didn't have the same problem.
I am not sure how it will help? They have different audio files than me.
And in my game, out of 3800 audio files only several do not play. It seems to be a very rare bug.
My mistake, I understood that few files were being played, not the opposite.
Given this, the only way to determine the cause is through DEBUG.
Install this plugin, then use the debugger to enable the switch you defined to force the M4A format, or disable it to force OGG (fixed):
JavaScript:
AudioManager.audioFileExt = function() {
return ($gameSwitches._data[1])? '.m4a' : '.ogg';
};
If it doesn't work, as I said before, you'll need to reconvert these files using FFMPEG preferably. Search Google for the command lines with the correct codecs for these formats.
Original thread: https://forums.rpgmakerweb.com/threads/makevideoplayableinline-is-not-defined-listed-advices-did-not-help.183467/