summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/editor/media/media.actions.js
blob: 9919e4627cd5a083d7c4437d0ed4ae5caf5ece12 (plain)
1
2
3
4
5
6
7
8
9
import * as types from 'app/types'
import { api } from 'app/utils'

export const getVimeoMetadata = url => {
  return api(() => {}, types.vimeo, 'vimeo', 'https://vimeo.com/api/oembed.json', { url })
  .then(data => {
    return data
  })
}