-
Improvement
-
Resolution: Duplicate
-
Minor
-
None
-
3.6
-
MOODLE_36_STABLE
When we import youtube entries to Kaltura KAF, we need to add autoplay to the content iframe of moodle since without it - the youtube entry just showing loading animation and it won't play when trying to preview it.
Solution propose:
In mod/lti/view.php
Add autoplay to iframe like this:
echo '<iframe id="contentframe" height="600px" width="100%" src="launch.php?id='.$cm->id.'&triggerview=0" allow="autoplay *;" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'; |