Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2. "layouts": {
  3. "SlideShowTemplate": {
  4. "parameters": [
  5. "content"
  6. ],
  7. "item": [
  8. {
  9. "type": "Pager",
  10. "id": "pagerComponentId",
  11. "width": "100vw",
  12. "height": "100vh",
  13. "navigation": "none",
  14. "data": "${content.properties.slideShowContent}",
  15. "speech": "${content.properties.slideShowSpeech}",
  16. "items": [
  17. {
  18. "type": "Container",
  19. "height": "100vh",
  20. "items": [
  21. {
  22. "type": "Image",
  23. "source": "${data.path}${@backgroundImage}",
  24. "scale": "best-fill",
  25. "width": "100vw",
  26. "height": "100vh",
  27. "position": "absolute"
  28. },
  29. {
  30. "type": "AlexaHeader",
  31. "headerAttributionImage": "${content.properties.imageContent.logoIcon}"
  32. },
  33. {
  34. "type": "Container",
  35. "justifyContent": "${viewport.shape == 'round' ? 'center' : 'end'}",
  36. "grow": "${viewport.shape == 'round' ? 0 : 1}",
  37. "items": [
  38. {
  39. "type": "Text",
  40. "id": "slideId",
  41. "style": "${viewport.shape == 'round' ? 'textStylePrimary' : 'textStyleTitle'}",
  42. "paddingLeft": "@marginLeft",
  43. "paddingRight": "@marginRight",
  44. "paddingBottom": "@marginBottom",
  45. "textAlign": "${viewport.shape == 'round' ? 'center' : 'left'}",
  46. "text": "${data.imageTitle}"
  47. }
  48. ]
  49. },
  50. {
  51. "type": "AlexaFooter",
  52. "footerHint": "${data.hintText}"
  53. }
  54. ]
  55. }
  56. ]
  57. },
  58. {
  59. "type": "Text",
  60. "speech": "${content.properties.slideShowMusic}",
  61. "id": "pagerMusicId",
  62. "text": "",
  63. "width": "0",
  64. "height": "0"
  65. }
  66. ]
  67. }
  68. }
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement