...
If the question is to be used in a test requiring Safe Exam Browser, ensure the media you embed does not contain links to external linkswebsites.
When in edit mode of a question, choose "Main illustration" in the menu to the right of the question. Default is set to "None", choose "Embed code" in the drop down list:
...