获取播放器配置

Example

GET 获取播放器配置

https://global.talk-cloud.net/vod/webapi/player/setting

参数名 必选 类型 说明
Content-Type string application/json
Accept string application/json
version string 版本号:(预设:v2)
Tk-authkey string 企业Key:(预设:5NIWjlgmvqwbt494)
Timestamp string token生产时间:(预设:1641600967)
Tk-token string 加密token:(预设:59O8J455S192Cw82f5bfxVB052NhsUpK9ToBVw==)
参数名 是否必选 类型 说明
playerId int 播放器序号
参数名 类型 说明
result int 0成功 非0失败
msg string 请求消息
data object 播放器
data.companyId int 公司ID
data.playerId string 播放器ID
data.title string 播放器标题
data.logo string 播放器logo
data.opacity int 不透明度 0-100
data.position int logo显示位置 0:不显示 1:左上角 2:左下角 3:右上角 4:右下角
data.isDefault int 是否为默认 0:否 1:是
data.playEnd int 0:返回片头 1:无片尾
data.marquee int 昵称跑马灯 0:否 1:是
data.speedPlay int 是否倍速播放 0:否 1:是
data.lang string 语言选择:zh-CN:中文 es:英文 auto:自适应
data.createTime string 创建时间
data.updateTime string 更新时间
data.isSubtitles int
data.openBarrage int
data.subtitlesSet object
data.subtitlesSet.up string
data.subtitlesSet.down string
data.subtitlesSet.type int
data.subtitlesStyle object
data.subtitlesStyle.single object
data.subtitlesStyle.single.bold int
data.subtitlesStyle.single.height int
data.subtitlesStyle.single.italic int
data.subtitlesStyle.single.fontSize int
data.subtitlesStyle.single.fontColor string
data.subtitlesStyle.single.fontSpace int
data.subtitlesStyle.single.fontFamily string
data.subtitlesStyle.single.strokeColor string
data.subtitlesStyle.single.strokeWidth int
data.subtitlesStyle.double object[]
data.subtitlesStyle.double.bold int
data.subtitlesStyle.double.height int
data.subtitlesStyle.double.italic int
data.subtitlesStyle.double.fontSize int
data.subtitlesStyle.double.fontColor string
data.subtitlesStyle.double.fontSpace int
data.subtitlesStyle.double.fontFamily string
data.subtitlesStyle.double.strokeColor string
data.subtitlesStyle.double.strokeWidth int
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
 {
    "result":0,
    "data":{
        "title":"hhhhh",
        "logo":"",
        "opacity":100,
        "position":1,
        "marquee":0,
        "lang":"zh-CN",
        "companyId":10785,
        "playerId":"W9TZQlV567",
        "playEnd":1,
        "speedPlay":0,
        "isDefault":1,
        "createTime":"2021-12-10 14:57:25",
        "updateTime":"2021-12-10 14:57:25",
        "isSubtitles":0,
        "openBarrage":1,
        "subtitlesSet":{
            "up":"zh-CN",
            "down":"en",
            "type":1
        },
        "subtitlesStyle":{
            "double":[
                {
                    "bold":0,
                    "height":5,
                    "italic":0,
                    "fontSize":20,
                    "fontColor":"rgba(255, 255, 255, 1)",
                    "fontSpace":0.5,
                    "fontFamily":"微软雅黑体",
                    "strokeColor":"rgba(0, 0, 0, 1)",
                    "strokeWidth":3.5
                },
                {
                    "bold":0,
                    "height":5,
                    "italic":0,
                    "fontSize":20,
                    "fontColor":"rgba(255, 255, 255, 1)",
                    "fontSpace":0.5,
                    "fontFamily":"微软雅黑体",
                    "strokeColor":"rgba(0, 0, 0, 1)",
                    "strokeWidth":3.5
                }
            ],
            "single":{
                "bold":0,
                "height":5,
                "italic":0,
                "fontSize":20,
                "fontColor":"rgba(255, 255, 255, 1)",
                "fontSpace":0.5,
                "fontFamily":"微软雅黑体",
                "strokeColor":"rgba(0, 0, 0, 1)",
                "strokeWidth":3.5
            }
        }
    },
    "msg":"成功"
}

© 2016-2021 北京拓课网络科技有限公司 版权所有  京ICP备17018423号-1 京公网安备11010502043461号