@nobita @jasondreher So… I’m not what they call a “coder”… haha. I wish I knew how to write javascript, but the best I can do is re-purpose everyone else’s modules. Put simply, I looked into using an I-Frame, or MMM-Podcast, but had trouble referencing a local video file. After having NO success adding a video player module, I decided to run a transparent full-screen video on–top of the magic mirror page, which actually worked better than I hoped. Although the black portions of the video dim the modules slightly, the way the white portions interact with the modules beneath it adds a certain cool-factor.
After some trial and error… I did the following:
- Bought the “Ghostly Apparitions” DVD at a local thrift shop. Amazon link
- Combined the highest resolution vertical scenes into a single m4v.
- Edited the node_player.js for MMM-PIR-Sensor to include omxplayer. This ensures that when the screen is activated, the video is played with the appropriate flags.
exec(“/opt/vc/bin/tvservice --preferred && chvt 6 && chvt 7”, null); exec(“omxplayer ~/Videos/Ghost.m4v --alpha 80”)
- Alternatively, you can just modify the start script to continuously loop the ghost video of your choosing.
If you need any further details, feel free to ask. But again, I’m a tinkerer… and I’m sure there are 1000 better ways to do this, but this works for me.
-Rich