• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
VdoCipher: Secure Video Hosting for BusinessVdoCipher
☰
Sign Up
  • Solutions
    • E-learning
    • Enterprise
    • Developer
    • Media & Ott
    • Wordpress
    • Live Streaming
  • Features
  • Pricing
    • Video Hosting & DRM Solution
    • Live Streaming Solution
  • Live
  • Developer
  • About
    • Testimonials
    • The Company
  • Contact
Login
Sign Up

Redirected: Adding videos from URL

April 18, 2015 /

You can easily add videos saved in your server to your vdocipher account. All you need is a publicly accessible link to the media file. This videos will be ready to use in your vdocipher dashboard.

Import URL API call:

POST  https://api.vdocipher.com/v2/importURL?url=<url_encoded_link>

PostData: clientSecretKey=CLIENT_SECRET_KEY

Replace the CLIENT_SECRET_KEY with the API key provided on sign-up.

Returns:

{
    id: "---------------",
    status: "Queued"
}

The returned data can be either XML or JSON. This will tell you the id of the newly created video. Note that after adding, it can take up to five to fifteen minutes for the video to be ready. You need to query the status of added videos using this id and the /videos API end-point described in API docs . The status of the video changes from “Queued” to “Processing” to “ready”.

This API call can be used to dynamically upload videos from your server. If you are using Amazon S3, you can use the getObjectURL() method to get a temporary URL to a private object.

Note 1: Keep the URL active for at least 5 hours since the adding because we might need it to do some post-processing optimization and retries in case of any errors.

Note 2: Make sure that the URL query string is properly encoded, use functions like urlencode() in PHP or ERB::Util.url_encode() in Ruby or urllib.urlencode() in python to properly encode the URL before passing it to the query string.

Note 3: Make sure to add the protocol for the URL which should be either http:// or https:// . Upon properly encoding, this shall look something like https%3A%2F%2F

Writing this blog prompted me to search that URI vs URL. Which should be the right/better term to use in this post? I read through https://danielmiessler.com/study/url_vs_uri/ and found that since in this API call, it is imperative to specify the protocol. Hence, it shall be better to call it URL.

Supercharge Your Business with Videos

At VdoCipher we maintain the strongest content protection for videos. We also deliver the best viewer experience with brand friendly customisations. We'd love to hear from you, and help boost your video streaming business.

Free 30-day trial →
Decorative Circle
Vibhav Sinha

(Co-Founder & CTO) Brain behind all VdoCipher innovations, Vibhav eats and sleeps code. A physics and astronomy enthusiast; Vibhav actively works on video delivery technology, security and high volume data transfer using cloud.

Filed Under: tips

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Secure Your Videos

Blog Categories

  • DRM 
  • APIs and Sample Codes
  • WordPress
  • E-learning
  • Media
  • Video Tech

Popular Posts

  • Google Widevine DRM
  • WordPress video plugin
  • Video Quality
  • Dynamic Watermarking
  • Encrypted Video Streaming
  • Video Hosting For Online Courses
  • Online Video Player
  • Apple Fairplay DRM
  • SVOD VS TVOD VS AVOD
  • Exoplayer
  • DRM

Top Recent Posts

  • Enterprise Video Platform
  • Cloud Video Platform
  • Video Player for Android
  • DRM Solution
  • Video Bitrate
  • React Native Video
  • Video Piracy
  • Learning Management System
  • AVPlayer
  • Live Streaming Websites
  • DRM Providers
  • DRM Security
  • Private Video Hosting
  • HTML5 Video Player

Schedule Demo Link
Popular Blogs
  • How many use easy video download piracy tools ?
  • Apple FairPlay DRM : Video Protection on iOS & Safari
  • 12 Video Piracy Statistics, 6 Prevention Methods
  • Elearning Video Protection from Piracy
  • Content Creator Economy Growth and other Statistics Report
  • Top 21 Education Apps In India For Online Learning
  • How To Embed Videos in WordPress A Comprehensive Guide
  • Live Streaming Platform For E-learning Media & Broadcast
  • Explained in Simple Language, 32 Key DRM Encryption Terminologies
  • Best Video Player for Android Comparison 2024
Recent Blogs
  • Beyond DRM: Why DRM is not enough to prevent Piracy ? VdoCipher Security Addons
  • How to Embed Videos in Thinkific: YouTube, Vimeo, VdoCipher (2025)
  • WebRTC Streaming Explained: How It Works, Security?
  • Videos in WordPress Guide & Best WordPress Video Format
  • Apple FairPlay DRM: Video Protection on iOS & Safari in 2025
  • 12 Best WordPress Video Player Plugins of 2025
  • LearnDash vs LifterLMS (2025): Honest, data-backed comparison
  • How to Play Videos from Zenplayer App?
Featured Blogs
  • Online Video Player
  • Video Encryption
  • Video Protection
  • Video Hosting
  • Widevine DRM
  • Fairplay DRM
  • Video Quality
  • Online Video Platform
  • Video hosting for business
Comparison
  • VdoCipher vs Vimeo
  • VdoCipher vs Dacast
  • VdoCipher vs YouTube
  • VdoCipher vs Zoom
  • VdoCipher vs JW Player
  • VdoCipher vs Dacast Live
  • VdoCipher vs Kaltura
  • VdoCipher vs Brightcove
    Contact Us
  • Phone : +91 7619171878
  • Whatsapp : +91 7042238654
  • E-mail : support@vdocipher.com
Company
  • Home
  • Glossary
  • Features
  • About Us
  • Pricing
  • FAQs
  • Contact
Services
  • Enterprise
  • E-Learning
  • Developer
  • Healthcare
  • Live Streaming Platform
  • Video Analytics
  • Media and Entertainment
  • DRM and Antipiracy
  • APIs for Developers
  • Video Hosting
  • Video API
  • Video DRM
  • Google DRM
  • DRM License Server
  • Custom Video Player
  • Play Integrity
Countries Served
  • Secure Video Hosting in USA
  • Secure Video Hosting in India
  • Secure Video Player in Brazil
  • Secure Video Streaming in UK
  • Secure Video Streaming in Saudi Arabia
  • Video Encryption in Spain
  • Video Encryption in Italy
  • Protected Video Streaming in Indonesia
  • Encrypted Video Player in Canada
  • Protected Video Streaming in Australia
  • Encrypted Video Player in Germany
  • Video DRM for Sri Lanka
  • Video DRM for Middle East
  • DRM Encryption for Europe
  • DRM Encryption for Asia
  • DRM Solutions for Japan
  • DRM Solutions for UAE
  • DRM Software for Chile
  • DRM Software for Russia

Copyright © 2025 VdoCipher. All rights reserved.

  • Terms
  • Privacy Policy