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

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

Scheduled Pinned Locked Moved Requests
7 Posts 3 Posters 3.5k Views 2 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.
  • D Offline
    dexterbeng
    last edited by dexterbeng Jan 7, 2018, 8:49 AM Jan 7, 2018, 8:48 AM

    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
    • D Offline
      dexterbeng
      last edited by Jan 8, 2018, 9:00 AM

      Already done for the display!
      0_1515401900312_haha.PNG

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

      D 1 Reply Last reply Jan 20, 2018, 2:56 PM Reply Quote 1
      • D Offline
        dexterbeng @dexterbeng
        last edited by Jan 20, 2018, 2:56 PM

        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
        • C Offline
          cruunnerr
          last edited by Jan 20, 2018, 3:04 PM

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

          D 1 Reply Last reply Jan 20, 2018, 3:10 PM Reply Quote 0
          • D Offline
            dexterbeng @cruunnerr
            last edited by Jan 20, 2018, 3:10 PM

            @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 Jan 21, 2018, 2:56 PM Reply Quote 1
            • J Offline
              Jopyth Moderator @dexterbeng
              last edited by Jopyth Jan 21, 2018, 2:57 PM Jan 21, 2018, 2:56 PM

              @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

              D 1 Reply Last reply Jan 21, 2018, 3:05 PM Reply Quote 0
              • D Offline
                dexterbeng @Jopyth
                last edited by Jan 21, 2018, 3:05 PM

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