This module for the MagicMirror autoplays a video using the html video function.
1. Execute the following commands to install the module:
cd ~/MagicMirror/modules # navigate to module folder
git clone https://github.com/brobergp/MMM-htmlvideo.git # clone this repository
2. Then, add the following into the modules
section of your config/config.js
file:
{
module: 'MMM-htmlvideo',
position: 'fullscreen_below',
config: {
videoSRC: "http://clips.vorwaerts-gmbh.de/VfE_html5.mp4",
loop: true,
}
},
Copy the code from the htmlvideo.css to your own custom.css and change size, position etc with css.
The following properties can be configured:
option | description |
---|---|
videoSRC |
The location of your video, |
loop |
If the video is suppose to play on an endless loop or not, true or false , default is true |