After the last night update the audioplayer still doesn’t work. The button “miniAudioPlayer” is disabled.
I have deleted the plugin and reinstalled the new version with no effect.
In the Plugin-Folder I finde these two files:
jquery.mb.miniAudioPlayer.min.js
jQuery.mb.miniAudioPlayer.min.js
Is this correct?
I have also installed the plugin on another side and disabled all other plugins. Same result: the plugin doesn’t work.
I am using WordPress 5.2.2, PHP version: 7.2.21
The file used is the jquery.mb.miniAudioPlayer.min.js one, the other is now remover but this should not be the issue.
I just updated to version 1.9.2 where the wrong path to map_short_code.js should be fixed.
Try if updating fix the issue.
I have deleted the plugin again and reinstalled the new version. The problem is still the same. The plugin simply doesn’t work.
These are the messages I get from the Console:
First message:
Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.mb.miniAudioPlayer.min.js:1
(This file is exspected in the js folder, but there is only a file: jquery.mb.miniAudioPlayer.js)
Second message:
Uncaught TypeError: jQuery(…).not(…).not(…).mb_miniPlayer is not a function
at initializeMiniAudioPlayer ((index):321)
at HTMLDocument.<anonymous> ((index):331)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at Function.ready (jquery.js?ver=1.12.4-wp:2)
at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
Ok, try renaming the jquery.mb.miniAudioPlayer.js as jquery.mb.miniAudioPlayer.min.js.
The problem is that as I had two files jquery.mb.miniAudioPlayer.js and jQuery.mb.miniAudioPlayer.js, removing one the subversion removed both.
I’ll update the plugin including the min.js shortly.
I have renamed the file. No errors in the Console, but I still see only the wordpress standard audioplayer.
When I select an audio link, I can’t click on the miniAudioPlayer Button on the top of the TinyMCE editor toolbar, because the button is disabled.