You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
People prefer podcasts playing in the background so I won't change the default. However if you want to implement this in your forked repo just add this code to base.html
<script>
document.addEventListener('visibilitychange', function() {
if (document.hidden) {
let audios = document.querySelectorAll('audio');
audios.forEach(function(audio) {
audio.pause();
});
}
});
</script>
loving your work... I think it would be great if you could close the podcast when finished listening or moving to another page.
The text was updated successfully, but these errors were encountered: