Skip to content

Commit efbb7f4

Browse files
author
Daniel Thies
committed
VID-1046: Vimeo setting and report bugs
1 parent 68086dc commit efbb7f4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

plugin/vimeo/classes/form/options.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,15 @@ class options extends moodleform {
5151
'byline',
5252
'color',
5353
'height',
54+
'maxheight',
55+
'maxwidth',
5456
'muted',
5557
'playsinline',
5658
'portrait',
5759
'responsive',
5860
'speed',
5961
'title',
62+
'transparent',
6063
'autopause',
6164
'background',
6265
'controls',

report.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120

121121
$videoduration = null;
122122
if (videotime_has_repository()) {
123-
if ($video = $DB->get_record('videotime_vimeo_video', ['link' => $moduleinstance->vimeo_url])) {
123+
if ($video = $DB->get_record('videotime_vimeo_video', ['link' => $moduleinstance->vimeo_url], '*', IGNORE_MULTIPLE)) {
124124
$videoduration = $video->duration;
125125
}
126126
}

0 commit comments

Comments
 (0)