Play audio file from server

I followed the instructions to create a sample application and it communicates perfectly with my created user agent.

Can we play our own music or MP3s hosted on my server using a voice message in Google Home? Or do I need to play audio from my Android application installed on an Android device in conjunction with Google Home by sending him a voice message?

+8
audio action webhooks actions-on-google google-home
source share
1 answer

You can play audio files with <speak>This is the audio <audio>link/or/url/to/audiofile.mp3</audio></speak> in response to the string. You can find more information in the SSML section.

+1
source share

All Articles