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

videojs player preload attribute can break page load in Chrome

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 3.3, 3.3.1, 3.11.4
    • Media
    • MOODLE_311_STABLE, MOODLE_33_STABLE

      The preload audio tag attribute has a hard coded setting of "auto" on line 174 of media/player/videojs/classes/plugin.php

      If a course page contains around 7 or more videojs embedded audio files it can break js execution and leave the page non-functioning as first.js remains pending forever.

      Editing line 174 of media/player/videojs/classes/plugin.php to output preload="none" fixes the issue.

      This appears to be a semi-reincarnation of MDL-52965.

            Unassigned Unassigned
            oj Oliver Jackson (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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