Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    camera module by alexyak

    General Discussion
    4
    13
    4062
    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.
    • S
      shramik49 last edited by

      hi,
      need help with camera module by alexyak(https://github.com/alexyak/camera).
      how to change the size of the image/video preview on the magicmirror.
      i want the image preview fit from center to the bottom of the magicmirror.

      broberg 1 Reply Last reply Reply Quote 0
      • broberg
        broberg Project Sponsor @shramik49 last edited by

        @shramik49 Try

        .camera video {
        Width: 1280px;
        Height: 960px;
        }
        
        S 1 Reply Last reply Reply Quote 0
        • S
          shramik49 @broberg last edited by

          thank you @broberg

          .camera video {
          Width: 1280px;
          Height: 960px;
          }
          

          sorry but where to put this lines ?

          broberg 1 Reply Last reply Reply Quote 0
          • broberg
            broberg Project Sponsor @shramik49 last edited by

            @shramik49 yeah sorry, in the custom.css

            S 1 Reply Last reply Reply Quote 0
            • S
              shramik49 @broberg last edited by

              @broberg
              i added the above lines but the size dint change.

              1 Reply Last reply Reply Quote 0
              • S
                shramik49 last edited by

                0_1491293952631_Untitled.png

                broberg strawberry 3.141 2 Replies Last reply Reply Quote 0
                • broberg
                  broberg Project Sponsor @shramik49 last edited by broberg

                  @shramik49 then I’m clueless

                  1 Reply Last reply Reply Quote 0
                  • strawberry 3.141
                    strawberry 3.141 Project Sponsor Module Developer @shramik49 last edited by

                    @shramik49 the video size gets inserted as style attribute directly to the element. If you want to override those you have to use the following rules

                    .camera video {
                      width: 1280px !important;
                      height: 960px !important;
                    }
                    
                    S 1 Reply Last reply Reply Quote 1
                    • S
                      shramik49 @strawberry 3.141 last edited by

                      @strawberry-3.141
                      thank you so much…
                      now i can adjust the image preview.

                      1 Reply Last reply Reply Quote 0
                      • S
                        shramik49 last edited by

                        the camera module by alexyak is voice controlled. can it be controlled from a switch connected to gpio??

                        johnnyboy 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy