Read the statement by Michael Teeuw here.
MMM-Screencast Position
-
Have installed MMM-Screencast on my MagicMirror2 and it works great. I am trying to position the screen in a specific position on my monitor. My Monitor is portrait, and I want the screen at middle point hormonally on the right side. It is an area where I don’t have anything on the screen. I have added x: and y: to my config.js, but no matter what numbers I type the screen does not move. Has anyone been able to move the screen, and maybe tell me what I am doing wrong.
{ module: "MMM-Screencast", position: "top_right", // This position is for hidden <div /> ect. config: { position: "top_right", height: 300, width: 500, x: -700, y: 0, } },
-
Possible values are top_bar , top_left , top_center , top_right , upper_third , middle_center , lower_third , bottom_left , bottom_center , bottom_right , bottom_bar , fullscreen_above , and fullscreen_below
{ module: "MMM-Screencast", position: "top_right", // This position is for hidden <div /> ect. config: { position: " ", //Possible values are top_bar , top_left , top_center , top_right , upper_third , middle_center , lower_third , bottom_left , bottom_center , bottom_right , bottom_bar , fullscreen_above , and fullscreen_below height: 300, width: 500, x: -700, y: 0, } },
-
This is from the config option section
Configuration options for MMM-Screencast
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. NOTE
x Optional (required if y is used) Window’s left offset from screen. Takes precedence over position.
Type: number (pixels)
y Optional (required if x is used) Window’s left offset from screen. Takes precedence over position.
Type: number (pixels)italicised text -
@poucedeleon Maybe I should take “position:” out if I am using x & y?
-
@poucedeleon note that there are TWO position settings
from the readme
module: "MMM-ScreenCast", position: 'bottom_right', // This position is for a hidden <div /> and not the screencast window config: { position: 'bottomRight',
the 1st one is thee MM position, there MUST be something, else NO content will be displayed
as MM doesn’t know where to put it.,.the second (different spelling) is the modules private info… don’t know how it uses that
-
this is really helpful post for me, thank you for your comments
-
@sdetweil I know spelling is critical. On your example position: :“bottomRight” is this spelling correct?
-
position: 'bottomRight',
that is a MMM-ScreenCast property… not MagicMirror
but, yes whatever way the module expects, exact syntax is important, including upper/lower case.