恢复到zoom sdk 2.5.0

This commit is contained in:
cxc
2022-09-28 16:06:23 +08:00
parent 7f1a17c8e8
commit 73a1309cc2
3 changed files with 26 additions and 19 deletions

View File

@ -343,25 +343,25 @@ const startMeeting = async () => {
}
};
const setSize = () => {
meetingWidth.value = meetingContainerRef.value.offsetWidth * 0.96;
meetingHeight.value = (meetingWidth.value * 9) / 16;
// const setSize = () => {
// meetingWidth.value = meetingContainerRef.value.offsetWidth * 0.96;
// meetingHeight.value = (meetingWidth.value * 9) / 16;
// videoElementRef.value.style.width = `${meetingWidth.value}px`;
videoElementRef.value.style.height = `${meetingHeight.value + 42}px`;
// // videoElementRef.value.style.width = `${meetingWidth.value}px`;
// videoElementRef.value.style.height = `${meetingHeight.value + 42}px`;
document.querySelector(
"#video-element> div> .zmwebsdk-MuiPaper-root> .zmwebsdk-MuiPaper-root:nth-child(1)"
).style.width = `${meetingWidth.value}px`;
// document.querySelector(
// "#video-element> div> .zmwebsdk-MuiPaper-root> .zmwebsdk-MuiPaper-root:nth-child(1)"
// ).style.width = `${meetingWidth.value}px`;
document
.querySelectorAll(
'div[id*="suspension-view-tabpanel"] > .zmwebsdk-MuiBox-root.zmwebsdk-MuiBox-root'
)
.forEach((el) => {
el.style.height = `${meetingHeight.value}px`;
});
};
// document
// .querySelectorAll(
// 'div[id*="suspension-view-tabpanel"] > .zmwebsdk-MuiBox-root.zmwebsdk-MuiBox-root'
// )
// .forEach((el) => {
// el.style.height = `${meetingHeight.value}px`;
// });
// };
// 设置文本标签
const setTextLabel = () => {