Commit 368ea701 authored by 李纪文's avatar 李纪文

feat: 修改萤石云视频全屏问题

parent 88271944
......@@ -122,7 +122,7 @@ const Video = (props, ref) => {
if(resizeTime) clearTimeout(resizeTime);
resizeTime = setTimeout(() => {
PlayersA && PlayersA.reSize(refs?.current?.offsetWidth || 952, refs?.current?.offsetHeight || 500);
}, 300);
}, 10);
});
refs?.current && resizeObserver.observe(refs.current);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment