I have tested on Developer console and is working fine but on the device it doesn't. Am using Echo Show 5
here is the json
{
"body": {
"version": "1.0",
"response": {
"outputSpeech": {
"type": "SSML",
"ssml": " 1. Pray for health, good health 2. Pray for house, how come do you like you happen 3. Pray for courage, pray for courage to get through these times. 4. Pray for success, my daughter's success in her coming exams. "
},
"directives": [
{
"type": "Alexa.Presentation.APL.RenderDocument",
"token": "randomToken",
"document": {
"type": "APL",
"theme": "dark",
"import": [
{
"name": "alexa-layouts",
"version": "1.1.0"
}
],
"version": "1.3",
"mainTemplate": {
"parameters": [
"payload"
],
"items": [
{
"type": "Container",
"items": [
{
"type": "AlexaBackground",
"backgroundVideoSource": {
"url": "https://bestillalexatest.test.eminenttechnology.com/videos/soundwave.mp4",
"repeatCount": 10
},
"videoAudioTrack": "foreground",
"videoAutoPlay": true,
"height": "100vh",
"width": "100vw",
"position": "absolute"
},
{
"type": "AlexaHeader",
"headerTitle": "Prayer time",
"headerSubtitle": "",
"headerAttributionImage": "https://bestilldemo.azurewebsites.net/images/bestilllogo.png"
},
{
"type": "Pager",
"items": [
{
"type": "Text",
"text": "${payload.script.properties.text0}",
"textAlign": "center",
"textAlignVertical": "center",
"id": "itm0"
},
{
"type": "Text",
"text": "${payload.script.properties.text1}",
"textAlign": "center",
"textAlignVertical": "center",
"id": "itm1"
},
{
"type": "Text",
"text": "${payload.script.properties.text2}",
"textAlign": "center",
"textAlignVertical": "center",
"id": "itm2"
},
{
"type": "Text",
"text": "${payload.script.properties.text3}",
"textAlign": "center",
"textAlignVertical": "center",
"id": "itm3"
}
],
"id": "myPager",
"paddingLeft": "60dp",
"paddingRight": "60dp",
"paddingBottom": "140dp",
"height": "100vh",
"width": "100vw",
"onMount": {
"type": "AutoPage",
"componentId": "myPager",
"count": 4,
"duration": 45000,
"delay": 45000,
"screenLock": true
}
}
],
"height": "100vh"
}
]
}
},
"datasources": {
"script": {
"type": "object",
"properties": {
"ssml0": "<speak>1. Pray for health, good health</speak>",
"ssml1": "<speak>2. Pray for house, how come do you like you happen</speak>",
"ssml2": "<speak>3. Pray for courage, pray for courage to get through these times.</speak>",
"ssml3": "<speak>4. Pray for success, my daughter's success in her coming exams.</speak>"
},
"transformers": [
{
"inputPath": "ssml0",
"outputName": "text0",
"transformer": "ssmlToText"
},
{
"inputPath": "ssml0",
"outputName": "speech0",
"transformer": "ssmlToSpeech"
},
{
"inputPath": "ssml1",
"outputName": "text1",
"transformer": "ssmlToText"
},
{
"inputPath": "ssml1",
"outputName": "speech1",
"transformer": "ssmlToSpeech"
},
{
"inputPath": "ssml2",
"outputName": "text2",
"transformer": "ssmlToText"
},
{
"inputPath": "ssml2",
"outputName": "speech2",
"transformer": "ssmlToSpeech"
},
{
"inputPath": "ssml3",
"outputName": "text3",
"transformer": "ssmlToText"
},
{
"inputPath": "ssml3",
"outputName": "speech3",
"transformer": "ssmlToSpeech"
}
]
}
},
"timeoutType": "SHORT"
}
],
"reprompt": {
"outputSpeech": {
"type": "SSML",
"ssml": " 1. Pray for health, good health 2. Pray for house, how come do you like you happen 3. Pray for courage, pray for courage to get through these times. 4. Pray for success, my daughter's success in her coming exams. "
}
},
"shouldEndSession": false,
"type": "_DEFAULT_RESPONSE"
}
}
}