When trying to embed a video from my My Media library using the editor in Moodle, you get this error message, "Your session has most likely timed out. Please log in again". Logging in and out of Moodle again sometimes works. This occurs using Chrome and it times out after 2 minutes.


Option 1: Change your settings in Chrome:

  • In the address bar in Chrome, type in chrome://flags
  • Then search for samesite
  • Change the following two settings from Default to Disabled:
    • SameSite by default cookes = Disabled
    • Cookies without SameSite must be secure = Disabled
  • Relaunch Chrome.

  • Log into Moodle again, go to a page or activity and embed a video using the editor.


Option 2: Try another browser like Microsoft Edge.