Tengo un complemento cordova para reproducir medios, pero no funciona cuando lo detengo. Se agradece cualquier ayuda.
function onDeviceReady() { console.log('Devive is ready!'); $('#button').click(function () { Player.init(); }); $('#playlistid .card a').click(function () { const song = new Media('song.mp3') if (clicked) { song.play(); $('#' + $(this).data('target')).hide(); $('.'+$(this).data('target')).show(); clicked = false; } else { song.stop(); $('.' + $(this).data('target')).hide(); $('#'+$(this).data('target')).show(); clicked = true; }