var data = {
  "type": "interactiveAnimation",
  "activity_data": {
    "interactiveVideo": {
      "video": {
        "startScreenOptions": {
          "title": "Interactive Video",
          "hideStartTitle": false
        },
        "textTracks": {
          "videoTrack": [
            {
              "label": "Subtitles",
              "kind": "subtitles",
              "srcLang": "en"
            }
          ]
        },
        "files": [
          {
            "path": "videos/video.mp4",
            "mime": "video/mp4",
            "copyright": {
              "license": "U"
            }
          }
        ]
      },
      "assets": {
        "interactions": [
          {
            "subContentId": "dbf1e130-32bf-40d5-a03f-bc0aa2b8d4db",
            "x": 5,
            "y": 45,
            "width": 40,
            "height": 15,
            "duration": {
              "from": 23,
              "to": 23
            },
            "pause": true,
            "displayType": "poster",
            "buttonOnMobile": false,
            "adaptivity": {
              "correct": {
                "allowOptOut": false,
                "message": ""
              },
              "wrong": {
                "allowOptOut": false,
                "seekTo": 16,
                "message": ""
              },
              "requireCompletion": true
            },
            "label": "",
            "action": {
              "library": "H5P.SingleChoiceSet 1.12",
              "params": {
                "subContentId": "ed7d94aa-d4e2-4ac6-9538-8640efb2bf0c",
                "choices": [
                  {
                    "question": "<p>What day was it on the calendar today?</p>",
                    "answers": [
                      "<p>19</p>",
                      "<p>18</p>"
                    ]
                  }
                ],
                "overallFeedback": [
                  {
                    "from": 0,
                    "to": 100
                  }
                ],
                "behaviour": {
                  "autoContinue": true,
                  "timeoutCorrect": 500,
                  "timeoutWrong": 500,
                  "soundEffectsEnabled": false,
                  "enableRetry": true,
                  "enableSolutionsButton": false,
                  "passPercentage": 100
                }
              },
              "subContentId": "ee879f7f-f8a2-4696-b06c-8ef9be27a848",
              "metadata": {
                "title": "Question",
                "contentType": "Single Choice Set",
                "license": "U",
                "authors": [],
                "changes": [],
                "extraTitle": "Question"
              }
            }
          }
        ],
        "bookmarks": [],
        "endscreens": []
      },
      "summary": {
        "task": {
          "library": "H5P.Summary 1.10",
          "params": {
            "intro": "Choose the correct statement.",
            "summaries": [
              {
                "subContentId": "bfd2df24-035f-48c1-8f24-e246d1a0b5fd",
                "tip": ""
              }
            ],
            "overallFeedback": [
              {
                "from": 0,
                "to": 100
              }
            ],
            "solvedLabel": "Progress:",
            "scoreLabel": "Wrong answers:",
            "resultLabel": "Your result",
            "labelCorrect": "Correct.",
            "labelIncorrect": "Incorrect! Please try again.",
            "alternativeIncorrectLabel": "Incorrect",
            "labelCorrectAnswers": "Correct answers.",
            "tipButtonLabel": "Show tip",
            "scoreBarLabel": "You got :num out of :total points",
            "progressText": "Progress :num of :total"
          },
          "subContentId": "ba43cc30-cdd6-45be-b59d-52a8553fbd23",
          "metadata": {
            "contentType": "Summary",
            "license": "U",
            "title": "Untitled Summary",
            "authors": [],
            "changes": [],
            "extraTitle": ""
          }
        },
        "displayAt": 3
      }
    },
    "override": {
      "autoplay": true,
      "loop": false,
      "showBookmarksmenuOnLoad": false,
      "showRewind10": true,
      "deactivateSound": false,
      "showSolutionButton": "off",
      "retryButton": "off",
      "preventSkippingMode": "forward"
    },
    "l10n": {}
  }
};