1.5 The <recprompt> element

The <recprompt> element holds the prompt item. It holds one or two media items, which will be prompted to the user.

Example: Simplke text prompt.

     <recprompt>
        <mediaitem>Welcome to the SpeechRecorder Demo Script.</mediaitem>
     </recprompt>

Since version 2.8.x of Speechrecorder all text and image media types can be combined with audio prompts. Such a combined prompt will display the text and play an audio prompt simultaniously. Examples:

     <recprompt>
        <mediaitem>Welcome to the SpeechRecorder Demo Script.</mediaitem>
        <mediaitem mimetype="audio/x-wave" src="resources/audio/welcome.wav"/>
     </recprompt>
     <recprompt>
        <mediaitem mimetype="image/svg+xml src="resources/image/welcome.xml>
        <mediaitem mimetype="audio/x-wave" src="resources/audio/wav/welcome.wav"/>
     </recprompt>