• 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.

Playing a local mp4 file as a module

Scheduled Pinned Locked Moved Troubleshooting
20 Posts 6 Posters 8.3k 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
    Ramez @remylpat
    last edited by Dec 4, 2018, 2:52 AM

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

    1 Reply Last reply Reply Quote 0
    • J Offline
      justjim1220 Module Developer @Sputnik
      last edited by Dec 4, 2018, 4:10 AM

      @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 Dec 4, 2018, 9:40 AM

        @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

        J 2 Replies Last reply Dec 4, 2018, 9:51 PM Reply Quote 0
        • J Offline
          justjim1220 Module Developer @remylpat
          last edited by Dec 4, 2018, 9:51 PM

          @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

          C 1 Reply Last reply Dec 5, 2018, 3:26 AM Reply Quote 1
          • J Offline
            justjim1220 Module Developer @remylpat
            last edited by justjim1220 Dec 4, 2018, 10:58 PM Dec 4, 2018, 10:50 PM

            @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 Dec 5, 2018, 7:46 AM Reply Quote 0
            • C Offline
              cowboysdude Module Developer @justjim1220
              last edited by cowboysdude Dec 5, 2018, 3:28 AM Dec 5, 2018, 3:26 AM

              @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

              J 1 Reply Last reply Dec 6, 2018, 6:10 PM Reply Quote 1
              • R Offline
                remylpat @justjim1220
                last edited by Dec 5, 2018, 7:46 AM

                @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

                J 1 Reply Last reply Dec 6, 2018, 8:25 PM Reply Quote 0
                • J Offline
                  justjim1220 Module Developer @cowboysdude
                  last edited by Dec 6, 2018, 6:10 PM

                  @cowboysdude Thanks CBD! :winking_face:

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

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    justjim1220 Module Developer @remylpat
                    last edited by Dec 6, 2018, 8:25 PM

                    @remylpat

                    Just making sure I’m on the same page as you…

                    You are wanting to use a button for each video on your Raspi which would mean you are going to have 5 buttons conected to the Raspi?

                    And, you are not wanting clickable buttons on the screen?

                    are you going to have a keyboard connected to your Raspi?

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

                    R 1 Reply Last reply Dec 7, 2018, 8:39 AM Reply Quote 0
                    • J Offline
                      justjim1220 Module Developer @Sputnik
                      last edited by Dec 6, 2018, 8:27 PM

                      @sputnik

                      are you wanting the same setup as @remylpat is requesting?

                      If you are wanting different setup or options, let me know. :smiling_face_with_sunglasses:

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

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