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

videojs player preload attribute can break page load in Chrome

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3, 3.3.1
    • Fix Version/s: None
    • Component/s: Media
    • Labels:
    • Affected Branches:
      MOODLE_33_STABLE

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: