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"); 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 ( return (
<main className="w-full h-screen bg-black"> <main className="w-full h-screen bg-black">
<div className="w-full h-full px-4 pt-12 pb-4"> <div className="w-full h-full px-4 pt-12 pb-4">
<ResponsiveIframe <ResponsiveIframe
src={process.env.NEXT_PUBLIC_IFRAME_CONFERENCE_URL || ''} src={jitsiUrl}
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allow="camera; microphone; fullscreen; display-capture; autoplay; clipboard-write; encrypted-media"
/> />
</div> </div>
</main> </main>

View File

@ -5,6 +5,9 @@ import { useState } from "react";
export function ConferenceFrame() { export function ConferenceFrame() {
const [error, setError] = useState(false); 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 ( return (
<div className="w-full h-[calc(100vh-8rem)]"> <div className="w-full h-[calc(100vh-8rem)]">
{error ? ( {error ? (
@ -22,9 +25,9 @@ export function ConferenceFrame() {
</div> </div>
) : ( ) : (
<iframe <iframe
src={process.env.NEXT_PUBLIC_IFRAME_CONFERENCE_URL} src={jitsiUrl}
className="w-full h-full border-none" 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 allowFullScreen
onError={() => setError(true)} onError={() => setError(true)}
/> />