未验证 提交 7d51a07a 编写于 作者: O openharmony_ci 提交者: Gitee

!1790 SeekMode接口修改

Merge pull request !1790 from caocan/master
......@@ -79,18 +79,18 @@ struct VideoCreateComponent {
this.myVideoController.setCurrentTime(9);
});
Button("setCurrentTime").onClick(() => {
this.myVideoController.setCurrentTime(9, SeekMode.PreviousSync);
this.myVideoController.setCurrentTime(9, SeekMode.PreviousKeyframe);
});
Button("setCurrentTime").onClick(() => {
this.myVideoController.setCurrentTime(9, SeekMode.NextSync);
this.myVideoController.setCurrentTime(9, SeekMode.NextKeyframe);
});
Button("setCurrentTime").onClick(() => {
this.myVideoController.setCurrentTime(9, SeekMode.Closest);
this.myVideoController.setCurrentTime(9, SeekMode.ClosestKeyframe);
});
Button("setCurrentTime").onClick(() => {
this.myVideoController.setCurrentTime(9, SeekMode.ClosestSync);
this.myVideoController.setCurrentTime(9, SeekMode.Accurate);
});
}
}
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册