Learnpath: Set video size responsive by default - refs #4162

pull/4227/head
LautaroTiamat 4 years ago
parent 17dcbdb84d
commit fb74fef18c
  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