mirror of
https://github.com/PlayEdu/backend
synced 2025-06-28 06:52:44 +08:00
资源视频预览播放完后关闭弹窗组件
This commit is contained in:
parent
0314355e08
commit
a4924e52f8
@ -35,6 +35,7 @@ export const VideoPlayDialog: React.FC<PropInterface> = ({
|
||||
});
|
||||
window.player.on("ended", () => {
|
||||
window.player && window.player.destroy();
|
||||
onCancel();
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user