Read the statement by Michael Teeuw here.
Halloween mirror ghouls anyone?
-
@Bruno said in Halloween mirror ghouls anyone?:
I am trying to make the halloween ghoul video (maybe a little late). I can get some video to play if the video is online. But if the video is on a directory on my raspberry pi I can’t.
If you are trying to make a module that plays local videos or if you’re just looking for a module that plays local videos then have a look at this module
https://github.com/mykle1/MMM-EasyBack
I just downloaded your example video and it works perfectly well with this module, locally.
-
@Mykle1 said in Halloween mirror ghouls anyone?:
@Bruno said in Halloween mirror ghouls anyone?:
I am trying to make the halloween ghoul video (maybe a little late). I can get some video to play if the video is online. But if the video is on a directory on my raspberry pi I can’t.
If you are trying to make a module that plays local videos or if you’re just looking for a module that plays local videos then have a look at this module
https://github.com/mykle1/MMM-EasyBack
I just downloaded your example video and it works perfectly well with this module, locally.
Nice!!! I’ll give it a try. It’s nice that I can define width and height!!! Thanks!!
-
@Bruno said in Halloween mirror ghouls anyone?:
Nice!!! I’ll give it a try. It’s nice that I can define width and height!!! Thanks!!
You’re welcome, mate. If you are still wanting to create your own module, feel free to take whatever you find useful from the module and use it in your own.
-
@Mykle1
This is so weird!
I installed MMM-EasyBack as per the instructions.
Copied a small Halloween Video in the MagicMirror/Modules/MMM-EasyBack/Videos folder. The file is named HalloweenMM.mp4. Its 15 MB. So pretty small.Here are my config.js entries for the module.
{ module: 'MMM-EasyBack', position: 'middle_center', config: { // bgName: "Example.jpg", // "Example.jpg", the file name of your background image (case sensitive) videoName: "HalloweenMM.mp4", // "baboon.mp4", // file name of your local video height: "1920px", // your display's resolution in pixels. Enter in config.js width: "1080px", // your display's resolution in pixels. Enter in config.js } },
I completely removed the section about Youtube ID , etc . When I launch the MM interface it contunually comes up with the YouTube Video by David Snow found here https://www.youtube.com/watch?v=So3vH9FY2H4
There is no reference that I can find to that video at all.
The YouTube ID that is referenced by this video is the same one that was in the original configuration file.
-
@BD0G open the developers window, ctrl-shift-i on the mm keyboard, and select the console tab and then enter hall in the filter field
see if there are any errors (usually red text)
case matters
-
@sdetweil Thanks Sam.
I went into the MMM-EasyBack.js file and altered it to reflect the video HalloweenMM.mp4 rather than within the config.js file. I also removedt the hard coded Youtube ID that was in the MMM-EasyBack.js file.
Now it plays the Halloween file , but I cannot control the sizing of the video and it takes up just about the entire screen.
Module.register("MMM-EasyBack", { defaults: { bgName: "", // .jpg, .gif, .png, Full screen animated gifs too! videoName: "HalloweenMM.mp4", // your local picture files go in "images" folder of MMM-EasyBack youTubeID: "", // YouTube ID from the YouTube url height: "800px", // your display's resolution in pixels. Enter in config.js width: "600px", // your display's resolution in pixels. Enter in config.js animationSpeed: "0", updateInterval: 60 * 60 * 1000, },
-
@BD0G do not edit the source file
all config goes in the config.js
no idea on the youtube stuff, maybe its the default for a youtube search…
the author is not available currently.
-
i am going to just modify the included MMM-EasyBack.css file to see if I can shrink it. Yeah that works.
.MMM-EasyBack .photo { width: 100%; /* size the picture */ } .MMM-EasyBack #video { width: 50%; height: 50%; } .MMM-EasyBack .iframe { margin-top: 50px; margin-bottom: 0px; margin-left: 50px; margin-right: 0px; }
-
@BD0G don’t modify the css file
the system design is that css/custom.css will allow you to override any setting set by a module or the main.css file
so you put those entries in custom.css
all this no editing means the author can release updates and nothing u did is impacted
-
@sdetweil said in Halloween mirror ghouls anyone?:
@BD0G don’t modify the css file
the system design is that css/custom.css will allow you to override any setting set by a module or the main.css file
so you put those entries in custom.css
all this no editing means the author can release updates and nothing u did is impacted
Gotcha!