描述

设置播放器跑马灯

接口地址

http://e.vhall.com/api/vhallapi/v2/webinar/set-player-text

请求参数

参数名 类型 必选 说明
webinar_id int 活动Id
scrolling_open int 是否开启,1是0否
text_type int 类型,1固定文本2固定文本+观看者昵称、ID
text string 文本
alpha int 不透明度,取值范围1-100
size int 文字大小,取值返回20-36之前的偶数
color string 文字颜色,例如#ffffff
interval int 显示间隔时间秒,取值范围20-300
speed int 文字移动速度毫秒,取值只能为3000、6000、100000,分别对应快、中、慢
position int 位置,1随机2高3中4低

接口中必须包含公共请求参数。关于公共请求参数详细内容,请参考 公共请求参数

响应参数

返回形如''{"code":200,"msg":"success","data":""}''的json

响应示例

{
    "code": 200,
    "msg": "success",
    "data": ""
}

错误码

code 含义
10010 直播不存在
201 参数错误