Embed da Mídia

Poder adicionar a mídia em sites externos com link de embed

Required scopes:safevideo_contents_read
GET
https://api.eduzz.com/safevideo/v1/medias/:id/embed

Path params

id

Identificador da mídia

Response params (200)

link
string

Elemento iframe com o conteúdo para poder adicionar em seu site

Status codes

StatusDescrição
200Success
400Bad Request
401Unauthorized
403Forbbiden
404Not Found
Swagger Logo

Exemplos

1curl --request GET \
2	--url 'https://api.eduzz.com/safevideo/v1/medias/6695366e04f7a37bfd00a926/embed' \
3	--header 'Accept: application/json' \
4	--header 'Content-Type: application/json' \
5	--header 'authorization: Bearer {{YOUR_ACCESS_TOKEN}}'
Response
1{
2  "link": "<iframe src=https://player.safevideo.com/1cf12f12-d123-12b1-1b12-c1c123456dcg width=\"100%\" height=\"100%\" frameborder=\"0\" allowfullscreen=\"true\"></iframe>"
3}