Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Add Javascript update Github Actions workflow (#275)
Gabe Kangas51da38a6f0f2
diff --git a/.github/workflows/javascript-packages.yaml b/.github/workflows/javascript-packages.yamlnew file mode 100644index 0000000000..6f1f6316cc--- /dev/null+++ b/.github/workflows/javascript-packages.yaml@@ -0,0 +1,28 @@+name: javascript-packages+on:+ push:+ paths:+ - build/javascript/package.json++jobs:+ run:+ name: npm run build+ runs-on: ubuntu-latest+ steps:+ - name: Checkout repo+ uses: actions/checkout@v2++ - name: Install dependencies+ run: |+ cd build/javascript+ npm run build++ - name: Commit changes+ uses: EndBug/add-and-commit@v5+ with:+ author_name: Owncast+ author_email: [email protected]+ message: "Commit updated Javascript packages"+ add: "build/javascript/package* webroot/js/web_modules"+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/build/javascript/package.json b/build/javascript/package.jsonindex 3fa35ab3e2..831a19d59c 100644--- a/build/javascript/package.json+++ b/build/javascript/package.json@@ -34,6 +34,6 @@"test": "echo \"Error: no test specified\" && exit 1","build": "npm install && npx snowpack install && cp node_modules/video.js/dist/video-js.min.css web_modules/videojs && cp -R web_modules ../../webroot/js"},- "author": "",+ "author": "Owncast","license": "ISC"}diff --git a/webroot/js/web_modules/@justinribeiro/lite-youtube.js b/webroot/js/web_modules/@justinribeiro/lite-youtube.jsindex f6a750abf1..281152c046 100644--- a/webroot/js/web_modules/@justinribeiro/lite-youtube.js+++ b/webroot/js/web_modules/@justinribeiro/lite-youtube.js@@ -193,6 +193,7 @@ class LiteYTEmbed extends HTMLElement {if (this.domRefFrame.classList.contains('lyt-activated')) {this.domRefFrame.classList.remove('lyt-activated');this.shadowRoot.querySelector('iframe').remove();+ this.iframeLoaded = false;}}break;