mirror of
https://github.com/PlayEdu/backend
synced 2025-07-21 20:19:32 +08:00
commit
d49c917bee
@ -9,19 +9,19 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
background-color: rgba(0, 0, 0, 0.45);
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
.play-dialog {
|
.play-dialog {
|
||||||
width: 800px;
|
width: 800px;
|
||||||
height: 450px;
|
height: 450px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
.close-button {
|
.close-button {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 24px;
|
top: -30px;
|
||||||
right: 24px;
|
right: -30px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
&:hover {
|
&:hover {
|
||||||
|
@ -35,6 +35,7 @@ export const VideoPlayDialog: React.FC<PropInterface> = ({
|
|||||||
});
|
});
|
||||||
window.player.on("ended", () => {
|
window.player.on("ended", () => {
|
||||||
window.player && window.player.destroy();
|
window.player && window.player.destroy();
|
||||||
|
onCancel();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user