提交 7a722a4d 编写于 作者: Q qq_38870145

feat: update

上级 f2c73ebe
......@@ -52,8 +52,8 @@ const onPlayer = () => {
}, 0, state.videoUrl)
}
const onPlayerPlayback = () => {
state.onDestroy().then(() => {
state.playCreate();
onDestroy().then(() => {
playCreate();
state.config.isLive = false
setTimeout((url) => {
state.playerInfo && state.playerInfo.play(url).then(() => {
......@@ -67,8 +67,8 @@ const onPlayerPlayback = () => {
}
const onStop = () => {
state.isPlay = false
state.onDestroy().then(() => {
state.playCreate();
onDestroy().then(() => {
playCreate();
});
}
const onDestroy = () => {
......@@ -84,9 +84,9 @@ const onDestroy = () => {
})
}
const onReplay = () => {
state.onDestroy().then(() => {
state.playCreate();
state.onPlayer()
onDestroy().then(() => {
playCreate();
onPlayer()
});
}
const playCreate = () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册