Moodle 3.1 or greater. Create a new item Create a new location for that item Copy the code snippet for that location Directly paste the code in the HTML view of your editor When viewing the content ...