SublimeVideo

Documentation

Check out our Getting Started and FAQ pages to start, and if you have any problems take a look at our Troubleshooting page.

Embeds

SublimeVideo embeds allow your audience to easily share your videos by embedding them into their own sites or elsewhere on the web.

In order for this to work, you need to create an HTML page for every video you’d like to be able to embed, and you need to host this page on one of your registered domains on MySublimeVideo.

The final snippet of code that your audience will share is an <iframe> element pointing to that HTML page (a.k.a the <iframe> content).

The <iframe> content

<!DOCTYPE html>
<html>
<head>
  <title></title>
  <script type="text/javascript" src="http://cdn.sublimevideo.net/js/YOUR_TOKEN.js"></script>
</head>
<body>
  <video style="display:none" class="sublime sv_iframe_embed" poster="poster.jpg" preload="none">
    <source src="http://yoursite.com/video.mp4" />
    <source src="http://yoursite.com/video.webm" />
  </video>
</body>

Important information:

The embed code

Here is the sharable snippet of code that your audience can copy and paste into another site.

<iframe src="http://yourdomain.com/embeds/video1.html" width="400" height="168" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe>

Important information: