Qurey the Video Drag and Drop
Last Updated:2020-09-17
This interface is used to query the detailed settings of video drag.
Method | Path | Description |
---|---|---|
GET | /v2/domain/{domain}/config?mediaDrag | Query video drag parameter settings |
domain: CDN accelerated domain name.
Response body
Parameter | Type | Description |
---|---|---|
mediaDragConf | MediaDragConf | Video dragging settings |
Response code (Http Status Code)
HTTP Status Code | Description |
---|---|
200 | Success |
Request example
GET /v2/domain/myself.baidu.com/config?mediaDrag HTTP/1.1
Host: cdn.baidubce.com
Response example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
{
"mediaDragConf":{
"mp4":{
"fileSuffix":[
"mp4",
"m4a",
"m4z"
],
"startArgName":"startIndex",
"dragMode":"second",
"endArgName":"end"
},
"flv":{
"fileSuffix":[
"flv"
],
"dragMode":"byteAV",
"startArgName":"start",
"endArgName":"end"
}
}
}