Merge pull request #4 from chromakode/tng

Fix for facebook streams freezing
This commit is contained in:
Max Goodhart
2020-06-21 20:17:06 -07:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
"scripts": {
"build": "webpack",
"start": "npm run build -- --display=errors-only && electron dist",
"start-local": "npm run build -- --display=errors-only && electron dist --webserver=http://localhost:4444 --username=woke --password=woke",
"test": "jest"
},
"author": "Max Goodhart <c@chromakode.com>",

View File

@@ -198,7 +198,7 @@ const viewStateMachine = Machine(
setInterval(() => video.play(), 1000)
// Prevent sites from re-muting the video (Periscope, I'm looking at you!)
Object.defineProperty(video, 'muted', {writable: false, value: false})
Object.defineProperty(video, 'muted', {writable: true, value: false})
const info = { title: document.title }
let divBase = document.querySelector('div.BaseVideo') // This will filter for only periscope videos