Celensoft Developer




Get Started With Opacity API

Implementing the Opacity API is never complex as you might think. As we promised it is just a single line of HTML code.

<a href="http://api.celensoft.com/opacity?s=VIDEO URL">Download Video</a>

In the above URL replace "VIDEO URL" with the address of the video that you want to download.

IMPORTANT : DO NOT USE http:// ON THE VIDEO URL. JUST BEGIN WITH www.


Example


Say you want to allow users to download the following video from your website



So in the above line of code, replace VIDEO URL with - www.youtube.com/watch?v=5O-6mNnqQjI.

So the code will look somewhat similar to this

<a href="http://api.celensoft.com/opacity?s=www.youtube.com/watch?v=5O-6mNnqQjI">Download Video</a>

IMPORTANT : DO NOT USE http:// ON THE VIDEO URL. JUST BEGIN WITH www.

You can use your HTML and CSS skills to tweak the above code in the way you like, maybe link it to a beautiful button and so on. Here is the basic OUTPUT Feel free to click on the link below and see how it all works.



Download Video

IMPORTANT : DO NOT USE http:// ON THE VIDEO URL. JUST BEGIN WITH www.


© 2016 Celensoft. All rights reserved. Privacy Policy | Help