# loop ^7.8
循环播放
# 请求参数
Prop | Type | Required | Default | Comment |
---|---|---|---|---|
params | Boolean | Y | N/A | 是否循环播放,true/false |
# 接口调用示例
const params = true
this.$bridge
.loop(params)
.then((res) => {
this.$alert(res)
})
.catch((err) => {
this.$toast(err)
})
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
# 接口返回示例
N / A
1
# FAQ
tip
回调需要先注册 setCallback 函数,然后通过 setCallback 返回
← seek 快进 getDuration →