Videos APIGuides

Update immersive mode

Control the fullscreen takeover — where it runs and when it expands.

Immersive mode expands the player into a fullscreen takeover while the video plays. The patch controls where it applies and how it reacts to play/pause.

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

Enable it on mobile only

curl -X PATCH https://api.vturb.com/v1/videos/{id} \
  -H "Authorization: Bearer vt_..." \
  -H "Content-Type: application/json" \
  -d '{ "immersive_mode": { "enabled": true, "mobile": true, "desktop": false } }'

The keys

Every key is a boolean.

KeyWrites
enabledMaster switch for the feature
desktopRun the takeover on desktop
mobileRun the takeover on mobile
disable_scrollingLock page scroll while immersed
expand_on_playEnter the takeover when playback starts
minimize_on_pauseLeave the takeover when the viewer pauses

On this page