API referencePlayback
Embed page
GET
The player, as an HTML page for an iframe on your site. It needs no key: the OTP in the address is the permission.
<iframe src="https://player.octavideo.tech/embed/{video_id}?otp={otp}" style="border:0;width:100%;aspect-ratio:16/9" allow="encrypted-media; fullscreen" allowfullscreen></iframe>When the library has allowed domains, the page plays only in an iframe on one of them, and its Content-Security-Policy names them, with the console's address for its previews, in frame-ancestors. Without allowed domains, any site can embed it.
The page is never cached, and it sends no Referer onward, so the OTP doesn't leave the page.
video_id*stringThe video the OTP was created for.
Format
uuidotp*stringThe otp from Create a playback OTP.
The player.
response?stringtext/htmlcurl -X GET 'https://player.octavideo.tech/embed/6f1c2b9e-4a7d-4f3e-9b8a-2d5c7e1f0a34?otp=J5RXIYKWNFSGK3ZAONQW24DMMUQE6VCQHIQG433UEBZGKYLMEEQQ'Example Response
"string"