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

Object tag embedding PDF's not reliable for Internet Explorer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.8.8, 1.9.4, 2.0
    • 1.8, 1.9
    • Resource
    • None
    • Windows XP, Internet Explorer 6.0.2600
    • Any
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      I've had several reports from users that pages with embedded PDF's aren't displaying the PDF and leave a blank space where it should be. I've managed to trace the issue to the <object> tag.

      I've found two fixes that reliably solve the issue for all my users.

      1. Switch the <object> tag for an <iframe>, although I understand this isn't valid for the HTML level Moodle wishes to comply with.

      2. Add <param name="src" value="' . $fullurl . '" /> within the object tag. I'm not 100% sure if this is valid to the HTML level we want.

      A fix or possibly even a configuration to switch the method used would be great.

            iarenaza Iñaki Arenaza
            daibach David Boyer (Inactive)
            Andrew Davis Andrew Davis
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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