Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Fix webapp not loading after youtube embed was removed in #1079

Gabe Kangas0c61945c36df
diff --git a/build/javascript/package-lock.json b/build/javascript/package-lock.json
index 07e0d4b174..8e5d284022 100644
--- a/build/javascript/package-lock.json
+++ b/build/javascript/package-lock.json
@@ -105,11 +105,6 @@
"twemoji": "^13.0.0"
}
},
- "@justinribeiro/lite-youtube": {
- "version": "0.9.1",
- "resolved": "https://registry.npmjs.org/@justinribeiro/lite-youtube/-/lite-youtube-0.9.1.tgz",
- "integrity": "sha512-IgcpHnovzZGxU4Ec+0c7sSLhrJWflvYliQUmdcwBgyVkGw0ZL9Y8IU/m09NPk9EzIk2HAOWUGLywTVpB785egA=="
- },
"@nodelib/fs.scandir": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz",
diff --git a/webroot/js/components/chat/chat.js b/webroot/js/components/chat/chat.js
index 368f93bde9..7501a1c36a 100644
--- a/webroot/js/components/chat/chat.js
+++ b/webroot/js/components/chat/chat.js
@@ -2,8 +2,6 @@ import { h, Component, createRef } from '/js/web_modules/preact.js';
import htm from '/js/web_modules/htm.js';
const html = htm.bind(h);
-import '/js/web_modules/@justinribeiro/lite-youtube.js';
-
import Message from './message.js';
import ChatInput from './chat-input.js';
import { CALLBACKS, SOCKET_MESSAGE_TYPES } from '../../utils/websocket.js';
diff --git a/webroot/js/web_modules/import-map.json b/webroot/js/web_modules/import-map.json
index bd9f39175b..436b97256e 100644
--- a/webroot/js/web_modules/import-map.json
+++ b/webroot/js/web_modules/import-map.json
@@ -1,7 +1,6 @@
{
"imports": {
"@joeattardi/emoji-button": "./@joeattardi/emoji-button.js",
- "@justinribeiro/lite-youtube": "./@justinribeiro/lite-youtube.js",
"@videojs/http-streaming/dist/videojs-http-streaming.min.js": "./@videojs/http-streaming/dist/videojs-http-streaming.min.js",
"@videojs/themes/fantasy/index.css": "./@videojs/themes/fantasy/index.css",
"htm": "./htm.js",