• 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.
  • 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
                • R Offline
                  remylpat @justjim1220
                  last edited by Dec 7, 2018, 8:39 AM

                  @justjim1220 You are right. No clickable button on screen. My preference is physical button on GPIO or bluetooth remote if simple.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    justjim1220 Module Developer
                    last edited by justjim1220 Dec 13, 2018, 3:37 AM Dec 13, 2018, 3:33 AM

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

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

                    Anyone give me an idea on which of these module works the best with RasPi?

                    I want to integrate one of them into a different module I am creating that will also use them…

                    So looking for ease of use and understand-ability not only by myself, but for the user.

                    (I don’t have a RasPi, So will also be looking for anyone willing to help test it for me as well.) :smiling_face_with_sunglasses: :smiling_face_with_sunglasses: :smiling_face_with_sunglasses:

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

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

                      @sputnik & @remylpat …

                      Give this a try…

                      See if it is anything close to what you are wanting…

                      Still tweaking it a bit, but it is working.

                      I am working on getting it to work with the RasPi buttons also.

                      Please give me any and all feedback, Thanks! :smiling_face_with_sunglasses:

                      Description:

                      A very simple video player module with clickable thumbnails to show playlist.

                      Screenshots:

                      0_1544778617287_Screenshot (442).png
                      0_1544778640438_Screenshot (443).png
                      0_1544778668486_Screenshot (444).png
                      0_1544778726663_Screenshot (445).png
                      0_1544778755884_Screenshot (446).png
                      0_1544778856502_Screenshot (447).png

                      Variations:

                      this is the first version, working on: simplifying configurations,
                      size of player, buttons, number of videos, buttons can be changed to text as well as color
                      and upcoming… option to use physical buttons on RasPi

                      Any options anyone may want with this module… Feel free to let me know! :smiling_face_with_sunglasses:

                      Download:

                      [card:justjim1220/MMM-MyVideoPlayer]

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

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