Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: PhET simulations in quiz.

PhET simulations in quiz: Difference between revisions

From MoodleDocs
(added page about PhET simulations in Moodle Quiz)
 
(Added ==Embedding a Phet simulation in a Moodle Page and description question type)
Line 7: Line 7:
* At first it did not work, because his test Moodle site is running on [[HTTP security|https]], and the embed code has http://, so it gets blocked by browser security settings.
* At first it did not work, because his test Moodle site is running on [[HTTP security|https]], and the embed code has http://, so it gets blocked by browser security settings.
* However, editing the URL in the embed code to be https, then it worked.
* However, editing the URL in the embed code to be https, then it worked.
==Embedding a Phet simulation in a Moodle Page==
It is quite easy to insert the HTML5 code into a Moodle [[Page]]. Just remember to activate the <> button in the [[Text editor]].
[[File:A PhET in a Moodle page.png]]
==Embedding a PhET simulation in a Moodle question==
It is quite easy to insert the HTML5 code into a Moodle [[Question_types#Description|description question type]]. Just remember to activate the <> button in the [[Text editor]].
[[File:A PhET in a Moodle description question type.png]]


[[Category:Mathematics]]
[[Category:Mathematics]]
[[Category:Chemistry]]
[[Category:Chemistry]]
[[Category:Questions]]
[[Category:Questions]]

Revision as of 23:03, 17 June 2015

PhET is a site for interactive simulations for science and Math from the University of Colorado at Boulder, USA, that provides fun, free, interactive, research-based science and mathematics simulations. The simulations are written in Java, Flash or HTML5, and can be run online or downloaded to your computer. All simulations are open source.

Can you embed PhET code in the Moodle Quiz?

According to this post, Tim Hunt tried this (with the balancing act SIM), with these results:

  • At first it did not work, because his test Moodle site is running on https, and the embed code has http://, so it gets blocked by browser security settings.
  • However, editing the URL in the embed code to be https, then it worked.

Embedding a Phet simulation in a Moodle Page

It is quite easy to insert the HTML5 code into a Moodle Page. Just remember to activate the <> button in the Text editor.

A PhET in a Moodle page.png

Embedding a PhET simulation in a Moodle question

It is quite easy to insert the HTML5 code into a Moodle description question type. Just remember to activate the <> button in the Text editor.

A PhET in a Moodle description question type.png