Let rpg maker mv 1.6.1 use mp3 type

Hello everybody. I am chinese uncle Mr.Ma. Net name is charmaznable.
my qq :308967459

My English is not good, so,everybody forgive me.

if you want use mp3 type in rpg maker mv 1.6.1,that look my text^_^
————————————————————————————————
1.this method only ande must use rpg maker mv 1.6.1.
2.download my dLL file (look for the post down)cover your rpg maker mv software directory——nwjs-win and nwjs-win-test .(Pay attention to the backup.)
3.in rpg maker mv ,you can use javascript command :
①
var audio = document.createElement("audio");
audio.src = "yourfile.mp3";
audio.play();
②
var audio = new Audio("yourfile.mp3");
audio.play();
————————————————————————————
About audio command,you can use command more that:
//play
audio.play();

//pause
audio.pause();

//stop
audio.pause();
audio.currentTime = 0;

//replay
audio.currentTime = 0;
audio.play();

Or you can use jQuery.js , if you want use 'loop'.^_^

download https://pan.baidu.com/s/1JxcTAG_iP82jVHlhAxQRKg

————————————我是华丽的分割线——————————————
中文版说明:本说明由夏亚编写。
QQ308967459

一切的前提是,必须是1.6.1版本!!!!
一切的前提是,必须是1.6.1版本!!!!
一切的前提是,必须是1.6.1版本!!!!
重要的事情要说三遍!

下载最下面的文件,将里面的ffmpeg.dll放入RPG Maker MV 目录的nwjs-win-test和nwjs-win中覆盖原文件(可以备份)
下面举一些例子,自行研究播放方法。

1.通过pause()和play()方法可以使音乐暂停和继续播放

//播放(继续播放)
audio.play();

//暂停
audio.pause();

//停止
audio.pause();
audio.currentTime = 0;

//重新播放
audio.currentTime = 0;
audio.play();

2,动态的创建<audio>元素

//方式1
var audio = document.createElement("audio");
audio.src = "你的音乐.mp3";
audio.play();//这里可以使用上面的命令。比如自动重复播放什么的。

//方式2
var audio = new Audio("你的音乐.mp3");
audio.play();

3.关于重复播放
你可以使用jQuery.js的相关接口自行研究自动重复播放的方法。

下载地址:度盘 https://pan.baidu.com/s/1JxcTAG_iP82jVHlhAxQRKg
it very more easy with this plugin
http://pixijs.io/pixi-sound/examples/
I'm curious as to the appeal of mp3s over ogg or m4a files.
it very more easy with this plugin
http://pixijs.io/pixi-sound/examples/
no,default rpg maker mv's ffmpeg.dll not support mp3 type.even if take mp3 file to audio folder,It can't be used.
I'm curious as to the appeal of mp3s over ogg or m4a files.
mp3 file's Size is Smaller than many files converted by mp3 file.
good job!
nice very nice!

Original thread: https://forums.rpgmakerweb.com/threads/let-rpg-maker-mv-1-6-1-use-mp3-type.96739/