diff --git a/layouts/shortcodes/audio.html b/layouts/shortcodes/audio.html
index 350b26f..a8e3b01 100644
--- a/layouts/shortcodes/audio.html
+++ b/layouts/shortcodes/audio.html
@@ -90,10 +90,10 @@
audio = event.target.parentElement.children[0];
audio.loop = !audio.loop;
if (audio.loop){
- event.target.classList.add("spin");
+ event.target.children[0].classList.add("spin");
}
else{
- event.target.classList.remove("spin");
+ event.target.children[0].classList.remove("spin");
}
}
function update_audio_time(event) {
diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html
index 1cb3151..8e2b01d 100644
--- a/layouts/shortcodes/video.html
+++ b/layouts/shortcodes/video.html
@@ -95,19 +95,19 @@
+ id="path8948-3"/>
+ id="path8948-3-5"/>
+ id="path8948-3-6"/>
+ id="path8948-3-5-2"/>