Hi
Some time ago Takeshi Adachi showed me a way to add and edit some source code so that when a learner clicks on a word (or phrase?) a very short audio file plays, typically with the pronunciation of the word or phrase. I added this code;
<p>
<audio id="clip12" src="https://............/G_digital.mp3">
<a onclick="document.getElementById('clip12').play()"> digital</a></p>
where G_Digital is the filename, 'digital' is the word the learner clicks on, and a new audio id has to be created each time.
This is very useful when creating pages with lots of bits of text, each associated with a different audio file. It looks nicer than having lots of audio players dotted around the page. However, it's quite time-consuming to create these pages. Would it be possible to create a kind of variation of the Record Audio feature in the Toolbar, so that;
- the author highlights a word or phrase
- records the audio file
- the audio file is associated with the highlighted word/phrase so that it plays on click (without a player displaying)
Best wishes
Jonathan Smith