Read the statement by Michael Teeuw here.
MMM-EARTH-Live & MMM-ISS-Live
-
@sdetweil I just downgraded to 13.5.1 but still no auto play.
-
@ruskythegreat i understand… did u try to change the code to the new webPreferences object parm?
in general they are stopping autoplay because customers are screaming at them (I hate it too in general purpose use)…
-
@sdetweil No, Sorry, I’m not familiar with the webPreferences object param Can I trouble you to ELI5 :)
-
@ruskythegreat there is already a WebPreferences object in the electron.js file, just down a few lines from your change.
line 30look at the doc link for autoplay, to get the right syntax/spelling
and add the key and value to the WebPreferences object
-
@sdetweil Thanks for all your help with this.
It’s still not autoplaying :(
I tried with the autoplayPolicy with the no-user-gesture-required so: -
autoplayPolicy: no-user-gesture-required,C&P to eliminate typos!
So now the whole webpreferences entry reads: -
webPreferences: { autoplayPolicy: no-user-gesture-required, contextIsolation: true, nodeIntegration: false, zoomFactor: config.zoom },But MM doesn’t start!
-
@ruskythegreat that string needs quotes
in JavaScript
the thing to the left of : does not need quotes
if the thing to the right is a number or true/false
no quotes
if the thing to the right is a symbol { or [ no quotes
otherwise
if it contains letters, it needs quotes.single or double does matter as long as they are the same on both ends
-
@sdetweil
Sorry, I did try that but forgot to update the post!
It currently reads: -
autoplayPolicy: “no-user-gesture-required”
But still doesn’t autoplay -
@ruskythegreat yes, I mentioned that others had found the same issue…
try this one thing, (I don’t think it will help but)
clear the Electron config folder, will be recreated on next electron startup
(zoom setting is saved here somewhere)stop MagicMirror
rm .rf ~/.config/Electron
start MagicMirror -
@sdetweil No change ;(
-
@ruskythegreat yes, and the doc says it defaults
Defaults to no-user-gesture-required.it would be interesting if you used chromium instead , if your config says
address:"0.0.0.0",then try from any other system
http://pi_address:MM_port -
@sdetweil It doesn’t work from Chrome 95.0.4638.54
-
@ruskythegreat boooooo
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
