Import media from a URL
livereacting_import_mediaBring a file into the media library from a Google Drive, Dropbox or YouTube URL. For a direct link to a media file on any other host, use livereacting_import_from_url; for a file on the customer's own computer, use livereacting_upload_file. The import runs in the background. This returns a fileId straight away; poll livereacting_get_import_status with it to find out when the file is ready. Only one import can run at a time per account. Only a single YouTube video imports here: a YouTube playlist page or channel URL is refused with VALIDATION_ERROR, so do not promise a customer that a playlist can be imported through this tool. Pass one video URL at a time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A Google Drive, Dropbox or single-video YouTube URL. Playlist pages and channels are rejected. | |
| type | Yes | What kind of media this is. A video playlist layer can only use video files. | |
| folderId | No | Put the imported file in this folder. Omit to import to the root of the library. |