Merge pull request #4946 from christianbeeznest/ofaj-21109-4

Exercise: Fix display audio recorded - refs BT#21109
pull/4949/head
christianbeeznest 1 year ago committed by GitHub
commit fddba2c354
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      public/main/inc/lib/exercise.lib.php

@ -5137,8 +5137,12 @@ EOT;
foreach ($qAttempt->getAttemptFeedbacks() as $attemptFeedback) {
$html .= Display::tag(
'audio',
null,
['src' => $assetRepo->getAssetUrl($attemptFeedback->getAsset())]
'',
[
'src' => $assetRepo->getAssetUrl($attemptFeedback->getAsset()),
'controls' => '',
]
);
}

Loading…
Cancel
Save