A module to cast to the MagicMirror². Currently, only YouTube casting is supported. Hopefully, I will have time to add more casting options.
- Navigate to the modules directory via the follow command:
cd MagicMirror/modules
- Clone the module from github:
git clone https://github.com/kevinatown/MMM-Screencast.git
- Navigate to the MMM-Screencast directory:
cd MMM-Screencast
- Install the dependencies:
npm install
- Add the following configuration to the modules array in the
config/config.js
file:
var config = {
modules: [
{
module: 'MMM-Screencast',
position: 'bottom_right', // This position is for a hidden <div /> and not the screencast window
config: {
position: 'bottomRight',
height: 300,
width: 500,
}
}
]
}
Option | Description |
---|---|
position |
Required The position of the screencast window. Options: ['bottomRight', 'bottomCenter', 'bottomLeft', 'center', 'topRight', 'topCenter', 'topLeft'] Type: string Note: This module config actual sets the location, not the magic mirror position config. |
height |
Required Height of the screencast window. Type: number (pixels) |
width |
Required Width of the screencast window. Type: number (pixels) |