Nerdboy

Veteran
Veteran
Joined
Jan 4, 2017
Messages
82
Reaction score
9
Primarily Uses
hi, so i created a web app, uploaded it to site and using webview, but no bgm is being played, the sound efx play tho?

if i dont launch the app from icon and use normal browser and type in url the audio works great.

but when i launch in app using webview no bgm cuz how rpg maker handles audio.

is there a way to specifiy html5 audio tag like <audio></audio> without using a source src function? and using autoplay element? i looked through google but most of the solutions require sources like click here play audio type. but in RM MV since all audio is defined by the program you cant really specify sources.

what to do? any help plz.

Im using a web app cuz i cant get audio to play in native app either, and my game is 350mb so, i cant put it in store without using web app, which is only 2mb. and obb is hard to figure out to code if i split apk.
 

ZServ

Veteran
Veteran
Joined
Jun 16, 2014
Messages
268
Reaction score
76
Primarily Uses
The Android/iOS version of your game will need to use .m4a audio files, not .ogg.
 

Nerdboy

Veteran
Veteran
Joined
Jan 4, 2017
Messages
82
Reaction score
9
Primarily Uses
zserv i know android and ios use m4a aac audio format not ogg. ogg is for pc

even though natively i dont know how to play m4a cuz i cant find working m4a converter

im hosting the game on a website. so it uses ogg i think but might playback mobile m4a not sure.

im using webview for android, it launches the game on the browser without any nav bar, so it looks like your playing it natively but requires internet connection wifi.
 

ZServ

Veteran
Veteran
Joined
Jun 16, 2014
Messages
268
Reaction score
76
Primarily Uses
To reiterate here: android webview doesn't support ogg files. This is the reason why if you upload a game using only ogg files to a website, it will not play any audio on android devices with Chrome. If you're having success hearing those audio files in a browser on android, you're either using "request desktop site" which changes things, or don't have Chrome installed.

As for a converter, Audacity is a great free one.
 

Latest Profile Posts

Going live soon on Twitch, and will continue Fortunastreet's game "Verloren". For those who are curious, you are welcome to join ;)

-> Franz' Twitch channel
still cursed with having an issue then solving it myself as soon as someone else explains it to me/is trying to help.

sure hope nobody thinks im weird not responding to them after they're only trying to help.
Erecting a giant stone monolith and inscribing the words "keep it simple stupid" upon it.

Forum statistics

Threads
125,745
Messages
1,173,173
Members
164,896
Latest member
meowmeow23
Top