mirror of
https://github.com/PlayEdu/backend
synced 2025-07-21 04:39:39 +08:00
commit
d49c917bee
@ -9,19 +9,19 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: rgba(0, 0, 0, 0.45);
|
||||
z-index: 200;
|
||||
.play-dialog {
|
||||
width: 800px;
|
||||
height: 450px;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
.close-button {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
position: absolute;
|
||||
top: 24px;
|
||||
right: 24px;
|
||||
top: -30px;
|
||||
right: -30px;
|
||||
cursor: pointer;
|
||||
z-index: 1000;
|
||||
&:hover {
|
||||
|
@ -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