Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-65613

Add allow autoplay to content iframe

XMLWordPrintable

    • 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>';
      

            Unassigned Unassigned
            adirvkaltura Adir Versano
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.