Apply stashed changes
This commit is contained in:
parent
9f2619a876
commit
35b8d707d3
@ -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>
|
||||
|
||||
@ -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)}
|
||||
/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user