diff --git a/twu_moodle_course.js b/twu_moodle_course.js index 826bd25..43a6910 100644 --- a/twu_moodle_course.js +++ b/twu_moodle_course.js @@ -1,7 +1,7 @@ $(document).ready(function () { $("select").change(function () { $(this).find("option:selected").each(function () { - const iframes = document.querySelectorAll("iframe"); + const iframes = document.querySelectorAll("iframe.video"); iframes.forEach((videoframe) => { const iframePlayer = new Vimeo.Player(videoframe); iframePlayer.pause();