vision refactor
This commit is contained in:
parent
48d3f1d7e2
commit
51f57417d6
@ -350,20 +350,6 @@ export default function VisionPage() {
|
||||
setJitsiUrl(null);
|
||||
};
|
||||
|
||||
// Hide footer when in conference mode
|
||||
useEffect(() => {
|
||||
if (selectedConference && jitsiUrl) {
|
||||
const footer = document.querySelector('footer');
|
||||
if (footer) {
|
||||
(footer as HTMLElement).style.display = 'none';
|
||||
}
|
||||
return () => {
|
||||
if (footer) {
|
||||
(footer as HTMLElement).style.display = '';
|
||||
}
|
||||
};
|
||||
}
|
||||
}, [selectedConference, jitsiUrl]);
|
||||
|
||||
// Check if meeting can be joined (5 minutes before start until end)
|
||||
const canJoinMeeting = (meeting: ScheduledMeeting): boolean => {
|
||||
@ -761,9 +747,9 @@ export default function VisionPage() {
|
||||
// Show Jitsi iframe if conference is selected
|
||||
if (selectedConference && jitsiUrl) {
|
||||
return (
|
||||
<main className="w-full h-[calc(100vh-3rem)] bg-black flex flex-col mt-12">
|
||||
{/* Jitsi iframe - full height without footer space */}
|
||||
<div className="flex-1 overflow-hidden h-full">
|
||||
<main className="w-full h-[calc(100vh-3rem)] bg-black flex flex-col mt-12 absolute top-0 left-0 right-0">
|
||||
{/* Jitsi iframe - full height */}
|
||||
<div className="flex-1 overflow-hidden w-full h-full">
|
||||
<ResponsiveIframe
|
||||
src={jitsiUrl}
|
||||
allow="camera; microphone; fullscreen; display-capture; autoplay; clipboard-write; encrypted-media"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user