mirror of
https://github.com/DerTyp7/teamspeak-obs-overlay.git
synced 2025-10-29 21:02:10 +01:00
show instructions when client cant connect
This commit is contained in:
@@ -146,6 +146,24 @@ export default function Viewer({
|
||||
return <div key={Math.random()}></div>;
|
||||
}
|
||||
})}
|
||||
{currentChannel == null ? (
|
||||
<>
|
||||
<h4>Overlay couldn't connect to the client:</h4>
|
||||
<br />
|
||||
<br />
|
||||
<h5>1. Make sure to accept the overlay in your TS5-Client via the notifications</h5>
|
||||
<br />
|
||||
<h5>2. Enable remote apps inside the the TS5-Settings</h5>
|
||||
<br />
|
||||
<h5>3. Make sure to match the configuration port with the port in the TS5 remote app settings</h5>
|
||||
<br />
|
||||
<h5>4. Refresh this page/BrowserSource (Select BrowserSource & click "Refresh" in OBS)</h5>
|
||||
<br />
|
||||
<h6>If non of this worked refer to the GitHub and write an issue with your problem</h6>
|
||||
</>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import App from "./App.tsx";
|
||||
import "@styles/index.scss";
|
||||
import { BrowserRouter, HashRouter } from "react-router-dom";
|
||||
import { HashRouter } from "react-router-dom";
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root")!).render(
|
||||
<HashRouter>
|
||||
|
||||
@@ -41,6 +41,14 @@ h4 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
// Common styles for heading elements
|
||||
h1,
|
||||
h2,
|
||||
|
||||
Reference in New Issue
Block a user