Advanced Custom Fields

The plugin integrates with ACF (both free and pro) in a way that allows the admins to create a custom fields that searches the Vimeo account or Uploads a video to Vimeo using our Javascript Modal. The saved meta value is based on your choice in the field settings and supports various return values.

Vimeo Selection field

The “Vimeo Selection” field allows users to populate meta data by searching the connected account videos and pick one that is stored in Vimeo.

The supported return formats are as follows:

  • Video Uri (Eg: /videos/11111111 )
  • Direct Url (Eg: https://vimeo.com/1111111)
  • Embed Url (Eg: https://player.vimeo.com/video/1111111)
  • Array (Eg: value, name, description, player_embed_url, etc)

The field overview:

Figure 1.1 – Vimeo selection field, allows to search your vimeo account

Vimeo Upload field

The “Vimeo Upload” field allows users to populate the metadata by uploading a video to Vimeo.com directly from the post edit page.

The supported return formats are as follows:

  • Video Uri (Eg: /videos/11111111 )
  • Direct Url (Eg: https://vimeo.com/1111111)
  • Embed Url (Eg: https://player.vimeo.com/video/1111111)
  • Array (Eg: value, name, description, player_embed_url, etc)

Overview of the field setup in ACF:

Figure 1.2 – Vimeo upload field, allows direct upload to Vimeo from the post editor

Overview of the field in the post editor:

Figure 1.3 – Post editor field

Querying data using code

To query the field data for specific post, please see this example.