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

Stop hardcoding of multimedia options

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.5.2, 2.6.1
    • Fix Version/s: None
    • Component/s: Media, Usability
    • Labels:

      Description

      In /lib/medialib.php, there are hardcoded options set for multimedia (e.g. Quicktime Videos) which really shouldn't be. These should be options that the course creator/admin can change when they are embedding the content.

      Example:
      <param name="loop" value="true" />
      <param name="autoplay" value="false" />
      <param name="autostart" value="false" />
      <param name="scale" value="aspect" />

      Looping isn't something everyone wants. In fact looping and autoplaying are the two things I hear people want to change on their Moodle site. No matter what I set the parameter to on Moodle, it gets ignored. Presumably by this code?

      Scale is one that I'm not sure on. When setting a width and height in the embedment, the video is getting cropped instead of re-sized. Perhaps due to the Scale parameter in this code? Not sure though.

      Either way - These options need to be changeable in Moodle.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            danbennett Dan Bennett
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Barbara Ramiro, Bas Brands
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: