Loading...
Embed a Piano in your own webpage
If you're able to edit your website, you can add 4four's virtual piano by following these steps.
Option 1 Embed with the default setup
1 Insert an iframe.
Add this snippet to your page's HTML.
<iframe   src="https://4four.io/embed/piano"   width="900" height="330"   frameborder="0">  <a href="https://4four.io/piano">    Piano  </a> </iframe>
2 Go to your page.
Open your page in a browser. The Piano should be there, like this:
3 All done!
Option 2 Embed with a customized setup
1 Go to the Piano
2 Choose the settings you need.
Press the Setup button to get to the settings.
3 Press the Link Button Link
This will create links for your configuration.
4 Note the exercise text.
It's at the end of the links. Here's an example:
https://4test.io/embed/piano/2AkE0RAQG
5 Insert an iframe with the exercise text.
Add this snippet to your page's HTML. Replace the highlighted part with the text from step 4.
<iframe   src="https://4four.io/embed/piano/2AkE0RAQG "   width="900" height="400"   frameborder="0">  <a href="https://4four.io/piano/2AkE0RAQG ">    Piano  </a> </iframe>
6 Go to your page.
Open your page in a browser. The Piano should be there, with your chosen options, like this:
7 All done!