Watch videos with subtitles in your language, upload your videos, create your own subtitles! Click here to learn more on "how to Dotsub"

oEmbed support

oEmbed Support for Dotsub videos

oEmbed is a simple and slick way to embed videos from Dotsub.

API Endpoint

Our oEmbed API endpoint support both XML and JSON.
http://dotsub.com/services/oembed/*

Arguments

Dotsub support all parameters outlined by the oEmbed specification.
We support these additional Dotsub specific parameters:
language (optional): The three letter language code for the language you want the player to default to
height (optional): The height of the video player
width (optional): The width of the video player
A list of all language codes can be found at: http://dotsub.com/api/language

Example Call

http://dotsub.com/services/oembed?url=http://dotsub.com/view/665bd0d5-a9f4-4a07-9d9e-b31ba926ca78

Example JSON Reply

{
thumbnail_height: 120
width: 420
author_url: "http://dotsub.com/view/user/user"
type: "video"
version: "1.0"
thumbnail_url: "http://dotsub.com/media/af0e8151-f78a-4168-8712-9cc6f8b9e2dc/t"
title: "Dance, Monkeys, Dance by Ernie Cline"
height: 347
thumbnail_wigth: 160
author_name: "user"
html: "<iframe src="http://dotsub.com/media/af0e8151-f78a-4168-8712-9cc6f8b9e2dc/e/c?width=420&height=347" frameborder="0" width="420" height="347"></iframe>"
provider_url: http://dotsub.com
provider_name: "dotSUB"
}

Example XML Reply

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
<version>1.0</version>
<type>video</type>
<title>Dance, Monkeys, Dance by Ernie Cline</title>
<author_name>user</author_name>
<author_url>http://dev.dotsub.com/view/user/user</author_url>
<provider_name>dotSUB</provider_name>
<provider_url>http://dev.dotsub.com</provider_url>
<width>420</width>
<height>347</height>
<html>&lt;iframe src=&#034;http://dev.dotsub.com/media/af0e8151-f78a-4168-8712-9cc6f8b9e2dc/e/c/spa?width=420&amp;height=347&#034; frameborder=&#034;0&#034; width=&#034;420&#034; height=&#034;347&#034;&gt;&lt;/iframe&gt;</html>
</oembed>