Video Upload via URL (server side)
This page provides instructions for uploading videos to DynTube using URLs via the API.
API URL
Please note that the API URL for video uploads is upload.dyntube.com
and not api.dyntube.com
.
Upload Video via URL
If you have a remote URL of a file, you can provide the URL to upload your video to DynTube.
The process is the same as uploading a normal file but instead of providing a file input, you can provide a field named
url
An HTML Form should be posted to the following endpoint.
The Content-Type should be multipart/form-data.
You can optionally provide other fields, such as
projectId
andplanType and videoId.
Replace an Existing Video
Please have a look at the optional parameters of the above two upload methods. You just need to add a parameter videoId
in your upload API call to replace an existing video.
API Request
POST
https://upload.dyntube.com/v1/videos
Request Body
projectId
String
Project Id
planType
Integer
title
String
Video Title
videoId
String
To replace an existing video
description
String
Video description
tags
String
Video tags, add multiple tags by adding the 'tags' field multiple times in your POST request with different values.
Response
Node.js Code Example Using a URL to upload video
Last updated