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.

    Any modules that could display a livestream

    Scheduled Pinned Locked Moved Unsolved Requests
    32 Posts 6 Posters 9.7k Views 6 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.
    • T Offline
      tanvir586 @thgmirror
      last edited by

      @thgmirror hi, could you double check this for me please. Don’t know where I made mistake it’s not working.
      Posted config and htmlScreenshot_20220329-100004_VNC Viewer.jpg
      Screenshot_20220329-100456_VNC Viewer.jpg

      thgmirrorT 1 Reply Last reply Reply Quote 0
      • thgmirrorT Offline
        thgmirror @tanvir586
        last edited by thgmirror

        @tanvir586
        I used MMM-SmartWebDisplay…
        This in config.js

        //#################################################################################
        		{
        			disabled: false,
        			module: 'MMM-SmartWebDisplay',
        			position: 'top_left',
        			config: {
        				// See 'Configuration options' for more information.
        				logDebug: false, 
        				height: "1300", 
        				width:"355%", 
                   	                updateInterval: 0, 
                                        NextURLInterval: 0, 
         				displayLastUpdate: false,
                                        url: ["/modules/widget.html"],
        				}
        		},
        //#################################################################################
        

        leads to
        e0ba9ad1-67ca-4c10-97aa-5061ab9cd8b6-image.png

        Eventually play around with the height and width-parameter in config.js and also in the html-file to get the best results.

        T 1 Reply Last reply Reply Quote 0
        • A Offline
          adrien00 @wishmaster270
          last edited by

          @wishmaster270 this is great thanks, ill have a go after my uni today!

          1 Reply Last reply Reply Quote 0
          • T Offline
            tanvir586 @thgmirror
            last edited by

            @thgmirror thanks mate. It did work. But how do I get it in the middle of the mirror. If I put middle_centre it’s goes somewhere els
            Screenshot_20220329-120912_VNC Viewer.jpg

            Top_centre
            Screenshot_20220329-121256_VNC Viewer.jpg

            thgmirrorT 1 Reply Last reply Reply Quote 0
            • thgmirrorT Offline
              thgmirror @tanvir586
              last edited by thgmirror

              @tanvir586
              The positions are sometimes a little bit tricky…if you have two or more at the same place, they are sorted by appearance in the config.js.

              You should try to reduce the width and height of the SmartWebDisplay as small as possible.
              58b7e9d5-8524-4b4c-9004-3395485fdfb5-image.png
              May be, your widget is in real as wide as red-marked in this screenshot, so you wasted a lot of space. First, you can temporarly change the background-color of the html-file (body bgcolor=#123456) to see the needed space at a glance. Change there the amount of pixels and percentages. Additionally change the height and width in SmartWebDisplay.
              If nothing helps, start with your Widget and add one by one your other modules.

              T 1 Reply Last reply Reply Quote 0
              • T Offline
                tanvir586 @thgmirror
                last edited by

                @thgmirror perfect… thank you so much. You made my day. Screenshot_20220329-125441_VNC Viewer.jpg

                thgmirrorT 1 Reply Last reply Reply Quote 0
                • thgmirrorT Offline
                  thgmirror @tanvir586
                  last edited by thgmirror

                  @tanvir586 the DIV-tags in the html-file are working like a passe-partout to see only a region of a given website.
                  Do you have an example how it looks now?
                  Greetings from Germany

                  T 2 Replies Last reply Reply Quote 0
                  • T Offline
                    tanvir586 @thgmirror
                    last edited by

                    @thgmirror yes. I was trying to post a picture but every time I upload came with error. Screenshot_20220329-125441_VNC Viewer.jpg

                    Worked now.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tanvir586 @thgmirror
                      last edited by

                      @thgmirror height: “1300”, width:“355%”
                      Was too big like whole screen. I changed the colour as you said then adjusted

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      • First post
                        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