Coconut offers the highest security standards to protect your premium video content.
Enjoy Google WideWine, Apple FairPlay and Microsoft PlayReady
compatible with iPhone & Android devices and all browsers.
Google Widevine
Widevine is used by major content creators like Netflix, Disney or Hulu.
Learn more
Apple Fairplay
Apple Fairplay DRM is for Apple devices only.
Learn more
Microsoft PlayReady
PlayReady DRM is widely available for all devices and browsers.
Learn more
The simplest Video Transcoding API
for protecting your premium content with DRM.
Enjoy powerful
libraries to harness cloud video encoding for your project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Our mission at Coconut is to make cloud video transcoding simple
const coconut = new Coconut.Client('api-key');
coconut.notification = {
'url': 'https://app/api/coconut/webhook'
};
coconut.storage = {
'service': 's3',
'bucket': 'mybucket',
'region': 'us-east-1',
'credentials': { 'access_key_id': 'xxx', 'secret_access_key': 'xxx' }
};
coconut.Job.create({
'input': { 'url': 'https://cdn/path/file.mp4' },
'outputs': {
'httpstream': {
'dash': {
'path': '/dash',
'widevine_pssh': 'htb3ZpZVjRG9ubDQHRhPY2NaE65qWBi3cQQs2yGgLI0iZNUjSIQ0gkxEh7mH9WEj3JB',
'playready_laurl': 'https://playready.ezdrm.com/cency/preauth.aspx?pX=ECD463',
'encryption_key': 'd21875b042cddb98018d7f6b7718ddb2:be02128f059b70c9e6a2e9d02ae64e14'
}
}
}
}, function(job, err) {
...
});