mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-28 18:15:01 +08:00
已看完视频显示进度条
This commit is contained in:
parent
cec5251da4
commit
58440be424
@ -130,8 +130,6 @@ const CoursePalyPage = () => {
|
|||||||
const initDPlayer = (playUrl: string, isTrySee: number, params: any) => {
|
const initDPlayer = (playUrl: string, isTrySee: number, params: any) => {
|
||||||
let banDrag =
|
let banDrag =
|
||||||
systemConfig.playerIsDisabledDrag && watchRef.current < totalRef.current;
|
systemConfig.playerIsDisabledDrag && watchRef.current < totalRef.current;
|
||||||
console.log(watchRef.current);
|
|
||||||
console.log(totalRef.current);
|
|
||||||
window.player = new window.DPlayer({
|
window.player = new window.DPlayer({
|
||||||
container: document.getElementById("meedu-player-container"),
|
container: document.getElementById("meedu-player-container"),
|
||||||
autoplay: false,
|
autoplay: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user