MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-Remote-Control add menu "Show video files" in the remote.html

    Requests
    3
    7
    2800
    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.
    • dexterbeng
      dexterbeng last edited by dexterbeng

      In the remote site, if I want to add one menu is to read a directory and list video files from the directory, how do I implement in the MMM.Remote-Control.js & remote.html?

      0_1515314841336_Capture.PNG
      After clicking that “Show video files”, it will show a list of the video files from the directory path and able to play it.
      0_1515314846436_path.PNG
      This is the directory path.

      1 Reply Last reply Reply Quote 0
      • dexterbeng
        dexterbeng last edited by

        Already done for the display!
        0_1515401900312_haha.PNG

        I’m working on the handler in the .js file now…
        Stay tuned!

        dexterbeng 1 Reply Last reply Reply Quote 1
        • dexterbeng
          dexterbeng @dexterbeng last edited by

          So, I wrote a PHP script to read all the surveillance recorded videos from a directory and able to play at the same time.
          Here is the screenshot:
          0_1516460082435_2b582fce-4f9f-4c4f-a724-b562a4b90bff-image.png
          so happy to achieve my objective, the next step is designing this page! CSS work is on! 🙂

          1 Reply Last reply Reply Quote 1
          • cruunnerr
            cruunnerr last edited by

            Would be nice if you will write a tutorial for us 🙂
            Looks pretty interesting for some of us.

            dexterbeng 1 Reply Last reply Reply Quote 0
            • dexterbeng
              dexterbeng @cruunnerr last edited by

              @cruunnerr Will do that if anyone requests for it! I need to move on on my final year project first hehe!

              J 1 Reply Last reply Reply Quote 1
              • J
                Jopyth Moderator @dexterbeng last edited by Jopyth

                @dexterbeng Until you finish your tutorial, here is a link to what I wrote. Maybe it helps in the meantime, if someone wants to a similar thing.

                Helpful sticky: How to troubleshoot

                dexterbeng 1 Reply Last reply Reply Quote 0
                • dexterbeng
                  dexterbeng @Jopyth last edited by

                  @Jopyth Yeap! sorry for that I poor in js language…so I did it in an alternative way to read all the videos from the local server with a PHP page. Anyway thanks for your explanation for that post!

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  • 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