flx:修复监控提示
This commit is contained in:
parent
532d97bb3f
commit
0d4c6586df
@ -353,13 +353,14 @@ const initPlayer = () => {
|
||||
`#player-${props.playerId}_playVideo${iWndIndex}`
|
||||
);
|
||||
const findFlag = Array.from(wnd.childNodes).find((item) => {
|
||||
return item.id && item.id.includes("player_playVideo");
|
||||
return item.id && item.id.includes(`player-${props.playerId}_playVideo`);
|
||||
});
|
||||
const findImg = Array.from(wnd.childNodes).some((item) => {
|
||||
return item.className == "classImg";
|
||||
});
|
||||
console.log(8848, findFlag, findImg, player_playVideo);
|
||||
if (player_playVideo.src || findImg || findFlag.duration == "Infinity") {
|
||||
// || findFlag.duration == "Infinity"
|
||||
if (player_playVideo.src || findImg || findFlag.duration != null) {
|
||||
controls.classList.add("video-controls_flex");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user