提交 66cb9275 编写于 作者: d-u-a's avatar d-u-a

v3 video API 增加倍速值,全屏参数

上级 155bfc5a
......@@ -3,7 +3,7 @@ import {
getCurrentPageVm
} from '../../platform'
const RATES = [0.5, 0.8, 1.0, 1.25, 1.5]
const RATES = [0.5, 0.8, 1.0, 1.25, 1.5, 2.0]
function operateVideoPlayer (videoId, pageVm, type, data) {
invokeMethod('operateVideoPlayer', videoId, pageVm, type, data)
......@@ -40,8 +40,8 @@ class VideoContext {
rate
})
}
requestFullScreen () {
operateVideoPlayer(this.id, this.pageVm, 'requestFullScreen')
requestFullScreen (args) {
operateVideoPlayer(this.id, this.pageVm, 'requestFullScreen', args)
}
exitFullScreen () {
operateVideoPlayer(this.id, this.pageVm, 'exitFullScreen')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册