@sdetweil No - I need to click on the “play” button on the stream.
Read the statement by Michael Teeuw here.
Posts made by rudibarani
-
RE: No autoplay for videos in v2.14 & v2.15
-
RE: No autoplay for videos in v2.14 & v2.15
@sdetweil Thanks for the idea. This does not seem to cause the problem. Autoplay still refuses to cooperate…
-
RE: No autoplay for videos in v2.14 & v2.15
@sdetweil said in No autoplay for videos in v2.14 & v2.15:
@rudibarani well, we moved from electron 8 to 11
I do to keep up with the latest version of electron via
npm install electron@latest
as I otherwise get a message saying something like “your browser is outdated” hovering above the ISS stream. The current electron version does autoplay with MagicMirror v2.13 - but not with a newer version of MagicMirror.
-
RE: No autoplay for videos in v2.14 & v2.15
@sdetweil said in No autoplay for videos in v2.14 & v2.15:
so change electron.js like this
function createWindow() {
let electronOptionsDefaults = {
width: 800,
height: 600,
x: 0,
y: 0,
darkTheme: true,
webPreferences: {
contextIsolation: true,
nodeIntegration: false,
zoomFactor: config.zoom,
autoplayPolicy: “no-user-gesture-required” // < — moved to here
},
backgroundColor: “#000000”
}Thank your for the suggestion, Sam. I tried it - but unfortunately without success. Autoplay of the ISS Livestream not starting with any of the modules. It works fine, when I go back to v2.13, though.
http://www.ustream.tv/embed/17074538?html5ui&initial-quality=high&volume=0&autoplay=1
Any additional thoughts would be much appreciated!
-
No autoplay for videos in v2.14 & v2.15
Dear all,
my MagicMirror ist running on a Mac Mini and I don’t have any problems when running on v2.13. If I upgrade to v2.14 or v2.15, autoplay of embedded videos is not working anymore. For the curious among you: I like playing a livestream of the ISS on my nighttime-mirror.
The problem occurs with the electron versions that install with each release and are not resolved, if I upgrade electron to its latest version. Adding this line to electron.js did not have a positive effect as well:
app.commandLine.appendSwitch(‘autoplay-policy’, ‘no-user-gesture-required’);
Every module I have tried is affected, e.g. MMM-SmartWebDisplay, MMM-EARTH-Live, yframe, iFrame-Ping…
Did someone else have this problem or does somebody have an idea what I could try do except staying on v2.13?
Thanks!
Phillip -
RE: MMM-APOD
@grena
Thanks for your quick help. The new update solved the issue with the position of the description. The size topic was an error of my side. Had a duplicate entry for the maximum width cancelling our the “0”.
Have a nice weekend! -
RE: MMM-APOD
@grena Thanks for this nice module!
I just wanted to include the APOD description and it seems that the total module size is defined by the image and the image is scaled down, when I add the description. In addition, the description is shown on the left whereas the image was set to middle_center.Would it be possible
- that the image maintains its defined size when the description is displayed and
- that the position and width of the description could be defined (e.g. centered below the image and with the same width as the image)?
Thank you very much for considering this.
Best,
Phillip -
RE: MMM-MQTTbridge
This looks very interesting! Thanks a lot for the effort to create this module. I look forward to trying it :)
-
RE: iFrame with username and password
Hi Nox,
did you find a solution for this?
Best,
Phillip