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

Scripts used to make some features mobile compatible should override the allowframembedding setting

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.4.1
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
    • Affected Branches:
      MOODLE_34_STABLE

      Description

      Because security restrictions some times we have to use iframes in the Mobile app including a PHP script from the site:

      • Private vimeo files: So the browser referral is correcty set and Vimeo can validate the domain
      • ReCaptcha: Same as above, the IP/Host restriction may be enabled

      The problem is that if allowframembedding is off, those scripts won't work because it won't be possible to be included in an iframe in the app.

      So I think that maybe we should have a global constant like NO_DEBUG_DISPLAY or NO_MOODLE_COOKIES but in this case to override allowframembedding (something like  ALLOW_FRAME_EMBEDDING)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jleyva Juan Leyva
              Reporter:
              jleyva Juan Leyva
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: