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-htmlvideo, Basic video file player

    Scheduled Pinned Locked Moved Entertainment
    videovideoplayermediamovie
    14 Posts 9 Posters 13.1k Views 11 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.
    • S Offline
      Sputnik
      last edited by

      Yes, I am also trying to find a simple way to play a single mp4 file which is stored on my PI. Anyone has a solution inside a module ??

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jabellas @Sputnik
        last edited by

        @Sputnik I have had success with file://path/to/you/file.mp4 as the url but it is still choppy when played from the same sd card

        cowboysdudeC 1 Reply Last reply Reply Quote 0
        • M Offline
          maydaymiao
          last edited by maydaymiao

          Hi, thanks for this great module, and it works well. I have a speical scenario and it will be great if someone can give some tips here (Sorry, I am not a JS programmer…)

          Right now, the video is running by default when mm starts. Here is my scenario,

          1. The video will not run automatically by default so that I can still see other information clearly.
          2. I can store mutiple videos (let’s assume two videos: 1.mp4 & 2.mp4) in the local Pi directory, and only when there is a certain mqtt message “1” published to the topic, it triggers to play 1.mp4; another message “2” published, triggers 2.mp4.

          I am not sure whether there is an easier to achieve that, thanks!

          1 Reply Last reply Reply Quote 0
          • cowboysdudeC Offline
            cowboysdude Module Developer @jabellas
            last edited by

            @jabellas You are using a pi and they aren’t really powerhouses when it comes to computing. I would try having the video located off of the pi and try it again.

            J 1 Reply Last reply Reply Quote 2
            • J Offline
              jabellas @cowboysdude
              last edited by

              @cowboysdude Yes, thanks. I ended up doing just that. It seemed to me initially counterintuitive that it would play faster from an external location than locally but it is perfectly smooth if I host the video on a separate web server.

              cowboysdudeC 1 Reply Last reply Reply Quote 1
              • cowboysdudeC Offline
                cowboysdude Module Developer @jabellas
                last edited by

                @jabellas said in MMM-htmlvideo, Basic video file player:

                @cowboysdude Yes, thanks. I ended up doing just that. It seemed to me initially counterintuitive that it would play faster from an external location than locally but it is perfectly smooth if I host the video on a separate web server.

                I agree with you!! Glad you got it working better :)

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