Created
December 6, 2017 19:25
-
-
Save silvolu/63074e8fac76c615746f534f59f28e5f to your computer and use it in GitHub Desktop.
Second example of SSML media element.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<speak> | |
<par> | |
<media xml:id='question'> | |
<speak> | |
When was Wikipedia launched? <break time='5s'/> | |
Was it 2000?<break time='2s'/> | |
Or 2001 <break time='2s'/> | |
Or 2002? <break time='2s'/> | |
What is your answer?<break time='5s'/> | |
<emphasis level="moderate">It was 2001!</emphasis> | |
Wikipedia was launched on 15 January 2001, two days after the domain was registered by Jimmy Wales and Larry Sanger. | |
</speak> | |
</media> | |
<media repeatDur='60s' soundLevel="-15dB" end='question.end+0s'> | |
<audio src="https://storage.googleapis.com/aogssml/background_music_loop.ogg"/> | |
</media> | |
</par> | |
</speak> |
This element is not a standard SSML element and is provided as an extra feature of the Actions on Google platform.
source: https://developers.google.com/assistant/actions/reference/ssml#par
this feature is already requested, please vonte it on https://alexa.uservoice.com/forums/906892-alexa-skills-developer-voice-and-vote/suggestions/34035127-the-possibility-to-add-background-music-with-the-h
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is this working for you
I have edited so many ways even I can't able to run this
it throws an error