I develop code in .

Select your preferred language to get started

Getting Started

This introduction will show you how easy it is to upload and deliver a video using our Node SDK through a few easy steps.

  1. Creating the video object
  2. Getting an embeddable uploader that your users can drag and drop a video into
  3. Getting an embeddable HTML5 web player that you can display to your user

Note: You will need an API key to complete this guide, you can get one for free here:

Get your free API key

Please refer to the complete documentation on github for more examples, or take a look at our example Node server for a complete running example using this sdk.

Installation:

npm install --save synq

Usage:

Creating the Video Object:

First you create a video object that we later can upload a video file into:

Getting the Embeddable Uploader:

We then add a call to uploader to get an embeddable uploader that we can show to the end user

Getting the Player:

When you want to display the video you either use the video_id for the specific video object  or you can query the metadata for a subset of your videos. The url for the player is located in the video object and can be embedded in an iframe. If you want to show the video in high quality you should wait for transcoding to finish, you can know what state the video is in by using webhooks.

The following example console.logs the url to the player, the number of views and the thumbnail url for a video with a specific video_id:

Getting Started

This introduction will show you how easy it is to upload and deliver a video using our PHP SDK through a few easy steps. The examples shown here are for PHP7, if you need an SDK for PHP5, click here.

  1. Creating the video object
  2. Getting an embeddable uploader that your users can drag and drop a video into
  3. Getting an embeddable HTML5 web player that you can display to your user

Note: You will need an API key to complete this guide, you can get one for free here:

Get your free API key

Please refer to the complete documentation on github for more examples.

Installation:

Use composer - https://getcomposer.org

Usage:

Creating the Video Object:

First you create a video object that we later can upload a video file into:

Getting the Embeddable Uploader:

We then add a call to uploader to get an embeddable uploader that we can show to the end user

Getting the Player:

When you want to display the video you either use the video_id for the specific video object  or you can query the metadata for a subset of your videos. The url for the player is located in the video object and can be embedded in an iframe. If you want to show the video in high quality you should wait for transcoding to finish, you can know what state the video is in by using webhooks.

The following example prints the url to the player, the number of views and the thumbnail url for a video with a specific video_id:

Getting Started

Our API can help you with the uploading and playback of videos. You can view the Elixir API reference here.

Note: You will need an API key to complete this guide, you can get one for free here:

Get your free API key

 

Install:

Prerequesite: Elixir 1.4.x

SYNQ requires an API key for HTTP requests. Set the following env variable:

SYNQ_API_KEY:your_api_key

 

Add SynqElixir to your list of dependencies in min.exs:

Or from hex:

Ensure you list synq_elixir in application dependency in your mix.exs file:

 

Examples:

Video object looks like this:

Upload Headers look like this:

Usage:

You can use the functions in SynqElixir.Api for making requests to RESTful api of Synq.fm. There are shorthand functions that wrap the common get requests.

You can also run convenience tasks that will help you testing creating of videos:

Overriding Environment
By default, we’ll use the prod environment. You can override the default environment by exporting the environment variable SYNQ_ENV which can be set stage or prod

Compatability:

We currently support Elixir 1.4.x, if you are on an older version, please use hex version 0.0.1

Getting Started

This introduction will show you how easy it is to upload and deliver a video using our Python sdk through a few easy steps.

  1. Creating the video object
  2. Getting an embeddable uploader that your users can drag and drop a video into
  3. Getting an embeddable html5 web player that you can display to your user

Note: You will need an API key to complete this guide, you can get one for free here:

Get your free API key

Please refer to the complete documentation on github for more examples.

Install:

pip install synq

Usage:

Creating the Video Object:

First you create a video object that we later can upload a video file into:

Getting the Embeddable Uploader:

We then add a call to uploader to get an embeddable uploader that we can show to the end user

Getting the Player:

When you want to display the video you either use the video_id for the specific video object  or you can query the metadata for a subset of your videos. The url for the player is located in the video object and can be embedded in an iframe. If you want to show the video in high quality you should wait for transcoding to finish, you can know what state the video is in by using webhooks.

The following example prints the url to the player, the number of views and the thumbnail url for a video with a specific video_id:

API reference

API Reference

Get in-depth information about SYNQs API and SDKs. Authentication functions, parameters, response formats, and error codes - find it all here.

Open API reference
SYNQ on GitHub

SDKs on GitHub

Easily use SYNQs API in the programming language of your choice. Download and install helpers for Objective-C, Java, JavaScript, Python and more.

Go to GitHub