• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-Block

Scheduled Pinned Locked Moved Utilities
3 Posts 3 Posters 803 Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    BKeyport Module Developer
    last edited by Jan 29, 2021, 8:02 PM

    This is really my first module, Decided to make it public because I could see others using it.

    For a while now, I’ve been using OMXPlayer as an external operation, as the video players are much more stable outside of MagicMirror for some reason. I’ve needed a blank area of the screen to allow a space for the video player to roam, but wanted a module to use the area directly below it.

    Here’s my solution. All it does is provide a blank area in a region, defined in pixels (px). That’s it.

    Simple, quick, easy. No CSS. No Mess. No Screenshot, as it’s a blank area. :)

    Installation

    Clone this repository in your ~/MagicMirror/modules/ folder ( $ cd ~MagicMirror/modules/ ):

    git clone https://github.com/BKeyport/MMM-Block.git
    

    Using the module

    To use this module, add it to the modules array in the config/config.js file next to the module you’d like to move
    (Above the module if you want to move a module DOWN, below the module if you wanna move the module UP)

    { 
    	module: 'MMM-Block',
    	position: "top_right",
    	config: {
    		height: 600,
    	}
    },
    

    The only config option is “height” - as seen above. Set it to the pixels (px) you’d like to move an item.

    The "E" in "Javascript" stands for "Easy"

    1 Reply Last reply Reply Quote 0
    • L Offline
      lolo
      last edited by Jan 29, 2021, 9:01 PM

      This post is deleted!
      F 1 Reply Last reply Jan 31, 2021, 12:07 AM Reply Quote -6
      • F Offline
        fribse @lolo
        last edited by Jan 31, 2021, 12:07 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 4
        • 1 / 1
        1 / 1
        • First post
          1/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy