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.

    Playing a local mp4 file as a module

    Scheduled Pinned Locked Moved Troubleshooting
    20 Posts 6 Posters 9.9k 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.
    • R Offline
      remylpat @Ramez
      last edited by

      @ramez Thx a lot.
      I’ll play with that later today and let you know.
      Just to let you know I am building the smart mirror in order to have it as an Advertisement mirror and I would like to trigger by myself some video through a remote or button on it.
      I’ll try your recommandations and let you know where I land :-)

      WAF : Woman Acceptance Factor (the most important thing that drive your life :-)

      lavolp3L R 2 Replies Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer @remylpat
        last edited by

        WAF : Woman Acceptance Factor (the most important thing that drive your life :-)

        Ha! Great!

        Isn’t there already at least one video player module out?
        Can’t you use that one for your purpose.
        Have a look into the 3rd party modules section at the MM github site.

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        1 Reply Last reply Reply Quote 0
        • R Offline
          Ramez @remylpat
          last edited by

          @remylpat nice, you may have to check those 2 modules MMM-Buttons and capacitve touch buttons fork

          1 Reply Last reply Reply Quote 0
          • justjim1220J Offline
            justjim1220 Module Developer @Sputnik
            last edited by

            @sputnik

            Are you wanting something to play a single mp4 file or several (like in a playlist) or to be given a choice to play from of a list of files stored in a local directory?

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

            1 Reply Last reply Reply Quote 0
            • R Offline
              remylpat
              last edited by

              @justjim1220 said in Playing a local mp4 file as a module:

              g something to play a single mp4 file or several (like in a playlist) or to be given a choice to play from of a list of files stored in a local directory?

              My target is having like 5 files and 1 button per file to launch each of them.
              I want mirror to diplay a video when I click on a remote then back to normal state (no video / minimal display) then click again (on another button for example) and the other video launch.
              The mirror is to be used on a shop like a haircut

              justjim1220J 2 Replies Last reply Reply Quote 0
              • justjim1220J Offline
                justjim1220 Module Developer @remylpat
                last edited by

                @remylpat

                I think I can work out something. might take me a few days to get it done, but I should be able to come up with something.

                "Life's Too Short To Dance With Ugly People"
                Jim Hallock - 1995

                cowboysdudeC 1 Reply Last reply Reply Quote 1
                • justjim1220J Offline
                  justjim1220 Module Developer @remylpat
                  last edited by justjim1220

                  @remylpat

                  Are one of these modules that you are planning to use for the buttons?

                  https://github.com/ptrbld/MMM-Button
                  https://github.com/Jopyth/MMM-Buttons
                  https://github.com/tosti007/MMM-TouchNavigation

                  "Life's Too Short To Dance With Ugly People"
                  Jim Hallock - 1995

                  R 1 Reply Last reply Reply Quote 0
                  • cowboysdudeC Offline
                    cowboysdude Module Developer @justjim1220
                    last edited by cowboysdude

                    @justjim1220 Here’s an idea…

                    https://medium.com/@daspinola/video-stream-with-node-js-and-html5-320b3191a6b6
                    https://stackoverflow.com/questions/24976123/streaming-a-video-file-to-an-html5-video-player-with-node-js-so-that-the-video-c

                    justjim1220J 1 Reply Last reply Reply Quote 1
                    • R Offline
                      remylpat @justjim1220
                      last edited by

                      @justjim1220 said in Playing a local mp4 file as a module:

                      https://github.com/ptrbld/MMM-Button
                      https://github.com/Jopyth/MMM-Buttons

                      Yes I was planning using the MMM-Button but right now it is not yet working on my side. I am resolving some depandencies issues

                      justjim1220J 1 Reply Last reply Reply Quote 0
                      • justjim1220J Offline
                        justjim1220 Module Developer @cowboysdude
                        last edited by

                        @cowboysdude Thanks CBD! :winking_face:

                        "Life's Too Short To Dance With Ugly People"
                        Jim Hallock - 1995

                        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 Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy