Skip to content

Commit

Permalink
Update twu_moodle_course.js
Browse files Browse the repository at this point in the history
  • Loading branch information
inoklim-twu authored Jan 16, 2025
1 parent 6f96fed commit 152e09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twu_moodle_course.js
Original file line number Diff line number Diff line change
@@ -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();
Expand Down

0 comments on commit 152e09c

Please sign in to comment.