mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-28 19:32:52 +08:00
检测视频重复播放
This commit is contained in:
parent
1fbe67f228
commit
30612785b5
@ -258,6 +258,7 @@ const CoursePalyPage = () => {
|
|||||||
<div
|
<div
|
||||||
className={styles["close-btn"]}
|
className={styles["close-btn"]}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
timer && clearInterval(timer);
|
||||||
window.player && window.player.destroy();
|
window.player && window.player.destroy();
|
||||||
document.oncontextmenu = function (e) {
|
document.oncontextmenu = function (e) {
|
||||||
/*恢复浏览器默认右键事件*/
|
/*恢复浏览器默认右键事件*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user