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.
    • dexterbengD Offline
      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
      • dexterbengD Offline
        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!

        dexterbengD 1 Reply Last reply Reply Quote 1
        • dexterbengD Offline
          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
          • cruunnerrC Offline
            cruunnerr
            last edited by

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

            dexterbengD 1 Reply Last reply Reply Quote 0
            • dexterbengD Offline
              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 Offline
                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

                dexterbengD 1 Reply Last reply Reply Quote 0
                • dexterbengD Offline
                  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 Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy
                    OSZAR »