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

videojs player preload attribute can break page load in Chrome

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.3, 3.3.1, 3.11.4
    • None
    • Media
    • MOODLE_311_STABLE, 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

              Unassigned Unassigned
              oj Oliver Jackson
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: