![]() However, editing the URL in the embed code to be https, then it worked.At first it did not work, because his test Moodle site is running on https, and the embed code has so it gets blocked by browser security settings.Now click the 'Save and return to course' button.Ĭan you embed PhET code in the Moodle Quiz?Īccording to this post, Tim Hunt tried this (with the balancing act SIM), with these results:.The simulation will show properly from now on: If you click again in the button in the Text editor, you will change from HTML code editing mode into interpreted mode, and you will see the simulation while it is being loaded and displayed.This is how your label should look like:.Now Insert the following text code, replacing address_of_phet_simulation_to_be_linked with the actual address that you copied (e.g,, but remember to remove the ?download part):.Activate the button in the Text editor, in order to insert HTML code directly into the editor.Just remember to activate the button in the Text editor.It is quite easy to insert the link to the HTML5 code into a Moodle Page.Now you can add a new Label or Page resource, where you will link to the PhET simulation.Then, copy the address (green rectangle) that links to that simulation's HTML5 code (blue rectangle):.Firstly, go to the PhET site, and locate the simulation that you want to use.We will be using the HTML5 version of the balancing act simulation for this example.save the translated file with a new name.Įmbedding a link to a PhET simulation in a Moodle Page or label: the hard way.search for the English language string you want to change,.simply open the *.html file in the editor,.Note: Do not try to use Microsoft Word or it will not work. You can check the downloaded simulation by (double click) opening with your favorite Internet browser. ![]()
0 Comments
Leave a Reply. |