Apply stashed changes

This commit is contained in:
alma 2026-01-11 21:20:14 +01:00
parent 9f2619a876
commit 35b8d707d3
2 changed files with 10 additions and 4 deletions

View File

@ -10,12 +10,15 @@ export default async function Page() {
redirect("/signin");
}
// URL Jitsi avec salle par défaut
const jitsiUrl = process.env.NEXT_PUBLIC_IFRAME_CONFERENCE_URL || 'https://vision.slm-lab.net/MonMeeting';
return (
<main className="w-full h-screen bg-black">
<div className="w-full h-full px-4 pt-12 pb-4">
<ResponsiveIframe
src={process.env.NEXT_PUBLIC_IFRAME_CONFERENCE_URL || ''}
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
src={jitsiUrl}
allow="camera; microphone; fullscreen; display-capture; autoplay; clipboard-write; encrypted-media"
/>
</div>
</main>

View File

@ -5,6 +5,9 @@ import { useState } from "react";
export function ConferenceFrame() {
const [error, setError] = useState(false);
// URL Jitsi avec salle par défaut
const jitsiUrl = process.env.NEXT_PUBLIC_IFRAME_CONFERENCE_URL || 'https://vision.slm-lab.net/MonMeeting';
return (
<div className="w-full h-[calc(100vh-8rem)]">
{error ? (
@ -22,9 +25,9 @@ export function ConferenceFrame() {
</div>
) : (
<iframe
src={process.env.NEXT_PUBLIC_IFRAME_CONFERENCE_URL}
src={jitsiUrl}
className="w-full h-full border-none"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allow="camera; microphone; fullscreen; display-capture; autoplay; clipboard-write; encrypted-media"
allowFullScreen
onError={() => setError(true)}
/>