أوكتا فيديو في مرحلة البيتا الخاصة: قد تتغير الواجهة البرمجية قبل الإطلاق العام.
OctaVideoالتوثيق

Embed page

GET
/embed/{video_id}

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.

Path Parameters

video_id*string

The video the OTP was created for.

Formatuuid

Query Parameters

otp*string

The otp from Create a playback OTP.

Response Body

The player.

response?stringtext/html
Example Request
curl -X GET 'https://player.octavideo.tech/embed/6f1c2b9e-4a7d-4f3e-9b8a-2d5c7e1f0a34?otp=J5RXIYKWNFSGK3ZAONQW24DMMUQE6VCQHIQG433UEBZGKYLMEEQQ'
Example Response
"string"