Streamable videos onebox are broken

Actually looking into it a bit more, streamable appears to be blocking embedding. The links to the video files work if loading them directly in a new tab, but if a referer header is sent it will give a 403.

You can verify this yourself by copying the network request in chrome dev tools network tab as a curl command. As the straight request it will return a 403 but if you remove the referer header it will succeed by sending the binary data.

Embedly actually handles it by embedding it within an iframe. If you go to the streamable link you can copy the embed code which provides a link that is embeddable.

<div style="width: 100%; height: 0px; position: relative; padding-bottom: 62.500%;">
  <iframe
    src="https://streamable.com/s/xxxx"
    frameborder="0" width="100%" height="100%" allowfullscreen style="width: 100%; height: 100%; position: absolute;"
  ></iframe>
</div>

I would say that onebox needs to be updated to handle streamable as an iframe with the correct url structure like so.

6 Likes