Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Add a little comment for those viewing HTML source that we could use contributors
Gabe Kangasebfd1ea7b886
diff --git a/web/components/common/HtmlComment/HtmlComment.tsx b/web/components/common/HtmlComment/HtmlComment.tsxnew file mode 100644index 0000000000..4dc6cb5e36--- /dev/null+++ b/web/components/common/HtmlComment/HtmlComment.tsx@@ -0,0 +1,4 @@+/* eslint-disable react/no-danger */+export const HtmlComment = ({ text }) => (+ <div dangerouslySetInnerHTML={{ __html: `<!-- ${text} -->` }} />+);diff --git a/web/pages/_document.tsx b/web/pages/_document.tsxindex 80069e99d3..32e1e02dc8 100644--- a/web/pages/_document.tsx+++ b/web/pages/_document.tsx@@ -1,8 +1,8 @@/* eslint-disable react/no-danger */import { Html, Head, Main, NextScript } from 'next/document';-import { readFileSync } from 'fs';import { join } from 'path';+import { HtmlComment } from '../components/common/HtmlComment/HtmlComment';class InlineStylesHead extends Head {getCssLinks: Head['getCssLinks'] = ({ allFiles }) => {@@ -26,6 +26,7 @@ class InlineStylesHead extends Head {export default function Document() {return (<Html lang="en">+ <HtmlComment text="If you're reading this we'd love your help with Owncast! Visit https://owncast.online/help to see how you can contribute to make independent, open source live streaming better with your help." /><InlineStylesHead /><body><Main />