Plum DEV Documentation
voicexml:tags:audio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
voicexml:tags:audio [2014/05/20 17:32]
adam [Notes]
voicexml:tags:audio [2015/07/31 14:10]
admin [<audio>]
Line 1: Line 1:
-===== <​audio>​ =====+{{description>​‹audio› VoiceXML tag details, attributes and VXML code example | The audio tag retrieves and plays a specified audio file.}} 
 +====== <​audio> ​======
  
 Retrieves and plays the specified audio file. If the audio file is unavailable,​ any enclosed text is sent to the TTS engine for speech synthesis instead. Retrieves and plays the specified audio file. If the audio file is unavailable,​ any enclosed text is sent to the TTS engine for speech synthesis instead.
Line 30: Line 31:
         I'm going to play an audio file.         I'm going to play an audio file.
       </​prompt>​       </​prompt>​
-      <!-- If the wave file at the location specified by the --> 
-      <!-- "​src"​ attribute can not be retrieved, the text within --> 
-      <!-- the "​audio"​ tag will be read by the TTS engine. --> 
       <audio src="​http://​nonexistent.domain.com/​test.wav">​       <audio src="​http://​nonexistent.domain.com/​test.wav">​
         Oops, the audio file could not be retrieved!         Oops, the audio file could not be retrieved!