Baidu AI Cloud
中国站

百度智能云

CDN

Qurey the Video Drag and Drop

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" 
        } 
    } 
} 
Previous
Set the Video Drag and Drop
Next
Set the Page Optimization