The API First video platform

Fetch helps developers build video into their websites & applications faster and cheaper than traditional video platforms

How Fetch works

Fetch video is designed to get you up and running with video on your website in minutes. There is no video application to learn or third party software to upload your videos to, simply tell Fetch where your videos are hosted, generate a 'Fetch key' and we'll take care of the rest.


PHP Example
<?php

# Step 1.
# Create source container at www.fetchvideo.io and generate a container key
$fetch-container = “demo”;
$fetch-secret = “hash256789abcdefg”;

# Step 2.
# Provide a link to the video origin in any format and generate a Fetch key
$fetch-video = “original_video.mov”;
$fetch-key = md5($fetch-video . $fetch-secret);

# Step 3.
# Build the api request URL which the video tag will use to generate the player
# output: demo.fetchvideo.io/orignal_video.mov?key=md5123456789
$fetch = $fetch-container . ".fetchvideo.io".$fetch-video . “?key=” . $fetch-key;
?>
<html>
<head>
    <script src="https://cdn.fetchvideo.io/embed/latest/embed.js"></script>
</head>
<body>
<video fetch-src="<?php echo $fetch; ?>" class="fetch-video-player"></video>
</body>
                                    

Once Fetch has picked up your orign video, it'll quickly be converted into the optimal streaming formats. Depending on the users device, Fetch will deliver video via HTML5 and only falls back to Flash where absolutely necessary. Video streaming is done via MPEG-DASH and/or HLS and Pseudo streaming is done via .mp4(h.264). All videos are hosted and delivered from one of our top CDN partners so you never have to worry about hosting or bandwidth limitations.

GET video views for a ALL videos - CURL example
<?php
$username='username';
$password='password';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,'https://fetchvideo.io/api/v1/analytics/{container}/videos');
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_USERPWD, "$username:$password");
$result=json_decode(curl_exec ($ch), true);
curl_close ($ch);

//$result = {"views": 16, "seconds": 30}

?>
                                        

‘‘Fetch was exactly the solution we needed to fully integrate video into our eLearning portals’’

Andy Kirby, Director. The Pensions Portal

Developer

We get it, we're developers too. You need need exceptional documentation and clear how-to instructions. You can find them here.
We're also developing PHP and Javascript libraries to get you started.

Getting started guide

Start using Fetch

Documentation

Player documentation

Code libraries

Coming Soon...