Skip to content

Commit e3a3788

Browse files
committed
Plugin: BBB: fix video download link to correspond to new path in BBB - refs BT#22577 GH #6125
1 parent 07f7954 commit e3a3788

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

plugin/bbb/lib/bbb.lib.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,9 +1545,14 @@ private function getActionLinks(
15451545

15461546
if ($hide == false) {
15471547
if ($meetingInfo['has_video_m4v']) {
1548+
foreach ($recordInfo['playbackFormat'] as $format) {
1549+
if ($format->type->__toString() == 'video') {
1550+
$recordingUrl = $format->url->__toString();
1551+
}
1552+
}
15481553
$links[] = Display::url(
15491554
Display::return_icon('save.png', get_lang('DownloadFile')),
1550-
$recordInfo['playbackFormatUrl'].'/capture.m4v',
1555+
$recordingUrl.'video-0.m4v',
15511556
['target' => '_blank']
15521557
);
15531558
} else {

0 commit comments

Comments
 (0)