Browse Source

Add placeholder embed pages

pull/2032/head
Gabe Kangas 4 years ago
parent
commit
8d7a5d6d6e
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 3
      web/pages/embed/chat/readonly.tsx
  2. 3
      web/pages/embed/chat/readwrite.tsx
  3. 10
      web/pages/embed/video/index.tsx

3
web/pages/embed/chat/readonly.tsx

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
export default function ReadOnlyChatEmbed() {
return <div className="chat-embed">chat container goes here</div>;
}

3
web/pages/embed/chat/readwrite.tsx

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
export default function ReadWriteChatEmbed() {
return <div className="standalone-chat-embed">fully featured chat embed goes here</div>;
}

10
web/pages/embed/video/index.tsx

@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
import OwncastPlayer from '../../../components/video/OwncastPlayer';
export default function VideoEmbed() {
const online = false;
return (
<div className="video-embed">
<OwncastPlayer source="/hls/stream.m3u8" online={online} />
</div>
);
}
Loading…
Cancel
Save