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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.4.1
    • Other
    • MOODLE_34_STABLE

      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)

            jleyva Juan Leyva
            jleyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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