TGV: Train with Great Velocity ACTION

Vimeo API

by Manuchap
Locomotive 3.x

A simple action to query Vimeo's API and grab the thumbnail corresponding to a video since they both have different IDs 😕.

{% action 'Vimeo API' %}

var url = getProp('video.url');

call = callAPI('GET', 'https://vimeo.com/api/oembed.json?url=' + url, {data: {}});

setProp('thumb', call.data.thumbnail_url);

{% endaction %}

  Back to the list
X

Signup


X

Sign-in