提交 a028192b 编写于 作者: C caocan

modify interface of SeekMode

Signed-off-by: Ncaocan <1532643766@qq.com>
Change-Id: I11e3e526db58ba50f6cf75a861b3683e826928be
上级 5a01fafe
......@@ -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.
先完成此消息的编辑!
想要评论请 注册