Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
fix(video): support native hls playback via opengraph tags. Fixes #4204
Gabe Kangaseaa22d648e17
diff --git a/static/metadata.html.tmpl b/static/metadata.html.tmplindex bbf8e78498..ec3aee6058 100644--- a/static/metadata.html.tmpl+++ b/static/metadata.html.tmpl@@ -18,6 +18,10 @@<meta property="og:image:url" content="{{.Thumbnail}}"><meta property="og:image:alt" content="{{.Image}}">+ <meta property="og:video" content="{{.RequestedURL}}hls/stream.m3u8" />+ <meta property="og:video:secure_url" content="{{.RequestedURL}}hls/stream.m3u8" />+ <meta property="og:video:type" content="application/x-mpegURL" />+<meta property="og:video" content='{{.RequestedURL}}embed/video' /><meta property="og:video:secure_url" content='{{.RequestedURL}}embed/video' /><meta property="og:video:height" content="315" />diff --git a/web/components/layouts/Main/Main.tsx b/web/components/layouts/Main/Main.tsxindex d3b6ddd468..7bd82ada7e 100644--- a/web/components/layouts/Main/Main.tsx+++ b/web/components/layouts/Main/Main.tsx@@ -113,6 +113,10 @@ export const Main: FC = () => {<meta property="og:image:url" content="{{.RequestedURL}}{{.Thumbnail}}" /><meta property="og:image:alt" content="{{.RequestedURL}}{{.Image}}" />+ <meta property="og:video" content="{{.RequestedURL}}hls/stream.m3u8" />+ <meta property="og:video:secure_url" content="{{.RequestedURL}}hls/stream.m3u8" />+ <meta property="og:video:type" content="application/x-mpegURL" />+<meta property="og:video" content="{{.RequestedURL}}{{.EmbedVideo}}" /><meta property="og:video:secure_url" content="{{.RequestedURL}}{{.EmbedVideo}}" /><meta property="og:video:height" content="315" />