Read the statement by Michael Teeuw here.
MMM-EasyBack no autostart Video
-
I would like to have the funny monkeys from the MMM-EasyBack YouTube Video but the video does not start automatically and I don’t know how to start manually.
Thanks for help🙏 -
@Stoffbeuteluwe this is due to a new restriction on the browser
do this
edit MagicMirror/js/electron.js
and add the line shown belowlet mainWindow; function createWindow() { app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); //< -------- addedsave and restart MagicMirror
-
Thanks i will try this later today
Thanks 👍🏽👍🏽 -
Hi, I have added the line than MM does not start…
-
@Stoffbeuteluwe show me the few lines.
I cut pasted from mine.
Watch. out for the quotes, sometimes paste creates the wrong ones -
-
[card:mykle1/MMM-EasyBack]
Update
-
The easiest way to use video and pictures as a background on your mirror.
-
Use a YouTube video as a live background with just the YouTube ID of the video.
-
Works by default with Hello-Lucy voice. https://github.com/mykle1/Hello-Lucy.
-
.jpg files, .png files, .gif files, Full Screen animated gifs (not recommended for Pi users).
-
.mp4 and .mov files (others not tested).
-
-
Ok i will try again 😀
-
Perfect thank you…:folded_hands:
-
So I’m not sure what’s going on with mine because it won’t autostart. I did all the changes suggested and below is a copy straight out of the MagicMirror/js/electron.js file.
I’ve restarted it many times.
Before I edited it it had everything there except
'autoplay-policy', 'no-user-gesture-required'was
"autoplay-policy", "no-user-gesture-required"let mainWindow; function createWindow() { app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); //< -------- added var electronOptionsDefaults = { width: 800, height: 600, x: 0, y: 0, darkTheme: true, webPreferences: { nodeIntegration: false, zoomFactor: config.zoom }, backgroundColor: "#000000" }; -
@Darkmx-6 can you open the developers window, using ctrl-shift-i on the keyboard, select the tab labeled console at the top of that window, and scroll up to see any info, or errors…
u can also filter for just messages from a single module by putting part of the module name in the filter entryfield
-
@sdetweil said in MMM-EasyBack no autostart Video:
and scroll up to see any info, or errors…
u can also filter for just messages from a single module by putting part of the module name in the filter entryfieldSure, I can do that, but is there a way to do that through the console? To physically access the pi I have to climb a ladder. I’m going to do that now but it would be awesome if I don’t have to next time.
-
@Darkmx-6 not that I have found
-
Humm… ctrl shift i doesn’t seem to work. may be it is just slow, I’m rebooting now and am going to try again. I’m using a raspberry pi zero.
-
yeah, it does nothing… is there a way to access it with the mouse?
My Keyboard is connected and working because I can quit magic mirror with the keyboard.
-
@Darkmx-6 all three keys together, ctrl-shift and the letter i (as in Initial)
-
yep, like if I’m hitting ctrl + alt + delete correct?
instead it’s ctrl shift i
-
@Darkmx-6 correct
-
Yeah I can’t get it to come up.
I’m not sure what else I can do.
-
@Darkmx-6 if u can change the startup, npm start dev opens the developers window
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
