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

Failed to execute ‘postMessage’ on ‘DOMWindow’ (harmless error) on messaging

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.2.1, 3.3
    • Media

      Discovered while testing MDL-57608.

      Loading messages including youtube vids (displayed by the videojs plugin) shows this in console:

      Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided
      (‘https://www.youtube.com’) does not match the recipient window’s origin (‘http://localhost’).
      

      It seems that, no matter of the error, the vid does look and play ok, but if possible, we should get rid of it.

      There is some literature in the net about it being some http/https mismatch (iframe) and also, missing call to some "destroy" stuff in the API. Worth searching and looking if it's fixable.

      Finally, please verify both the videojs' youtube plugin and the youtube (standalone) player.

      Ciao

            Unassigned Unassigned
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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