Skip to main content

Introduction

Actions are automations. They are the things that happen when an annotation is tagged. For example, when a goal is scored, you may want to automatically create a clip of that goal (either as an mp4 asset or a playable video). And maybe you want to automatically share that clip to social media? Actions are the way to achieve this. Motto supports a wide range of actions, all with the purpose of simplifying your workflow and automating repetitive tasks. Or, put differently, reducing the overhead needed to run a live sports OTT platform. Here is a non-exhaustive list of automated actions:
  • Create a clip of a goal in your live-stream;
  • Create a highlight reel of all goals and chances in a match;
  • Share to social media the clip of a scored goal;
  • Send a notification to all users that have favorited a team when a goal is scored;
  • Write a message in a chat room when kickoff starts;
  • Send a webhook callback to a third-party system when the match is over.
Actions can also be combined into a sequence. For example, one action creates a clip of a goal, and the next one shares that clip to Instagram.

Get Started

Motto’s support team sets up actions for you, so you do not need to configure anything yourself.
Actions are triggered by annotations, so make sure annotations are set up for your project first. See the annotations guide.
Before you reach out, think through your use-cases:
  • Which moments should trigger an action? For example, every “Goal” annotation, or the “Full-time” annotation at the end of a match.
  • What should happen at that moment? For example, create a clip, share it to social media, or notify a third-party system.
  • How should it behave? For example, how many seconds before and after the goal a clip should start and end, and what it should be called.
  • Which third-party accounts are involved? Some actions, like posting to social media, need access to your accounts on those platforms. The support team will help you connect them securely.
Once your actions are in place, verify them by tagging an annotation of the relevant type and checking that the expected action happens. Depending on the kind of action, it may take some time to complete.

Next Steps

If you are interested in using annotations to enrich your OTT platform experience, you may want to learn more about frontend plugins.