How I built Minute Grams: 3 Minute Tutorial

Minutegrams is a webapp to send video messages via email.
In this tutorial, let’s build a video recorder with the Tokbox API.


Step 1: Include tokbox javascript file

  • Let’s start with our html document, and add jquery and tokbox javascript library.
  • We need ‘rElement’ div to put our recorder in, and ‘pElement’ div to put player in.
<!DOCTYPE HTML>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
    <script src="http://staging.tokbox.com/v0.91/js/TB.min.js"></script>
</head>
<body>
    <div id="rElement"></div>
    <div id="pElement"></div>
</body>
</html>

Step 2: Create a Tokbox recorder Manager object

1 Comment Read More