Merge pull request #4227 from lautarobeeznest/4162

Learnpath: Set video size responsive by default - refs #4162
pull/4229/head
Yannick Warnier 4 years ago committed by GitHub
commit 53e358de88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      main/inc/lib/document.lib.php

@ -3383,7 +3383,7 @@ class DocumentManager
$html .= '<audio id="'.$id.'" controls="controls" src="'.$file.'" type="audio/mp3" ></audio></div>';
break;
default:
$html = '<video id="'.$id.'" controls>';
$html = '<video id="'.$id.'" width="100%" height="100%" controls>';
$html .= '<source src="'.$file.'" >';
$html .= '</video>';
break;

Loading…
Cancel
Save