Videos APIGuides

Update resume

Configure the keep-watching prompt returning viewers see.

When a viewer comes back to a video they left mid-way, the resume prompt offers to continue from where they stopped. This group turns it on and rewrites its copy and colors.

This is a merge-patch: send only the keys you want to change and everything else keeps its stored value.

Rewrite the prompt

curl -X PATCH https://api.vturb.com/v1/videos/{id} \
  -H "Authorization: Bearer vt_..." \
  -H "Content-Type: application/json" \
  -d '{ "resume": { "enabled": true, "texts": { "title": "Welcome back!", "play": "Keep watching", "replay": "Start over" } } }'

The keys

KeyTypeWrites
enabledbooleanTurns the prompt on or off
disable_pausebooleanKeep the video rolling behind the prompt
styles.background_colorstringPrompt background color
styles.foreground_colorstringPrompt text/button color
texts.titlestringHeadline of the prompt
texts.playstringLabel on the continue button
texts.replaystringLabel on the start-over button

On this page