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

Scheduled Pinned Locked Moved Entertainment
videovideoplayermediamovie
14 Posts 9 Posters 12.3k 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.
  • J Offline
    jabellas @Sputnik
    last edited by Mar 8, 2018, 7:42 PM

    @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

    C 1 Reply Last reply Mar 19, 2018, 10:49 AM Reply Quote 0
    • M Offline
      maydaymiao
      last edited by maydaymiao Mar 19, 2018, 8:58 AM Mar 19, 2018, 8:58 AM

      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
      • C Offline
        cowboysdude Module Developer @jabellas
        last edited by Mar 19, 2018, 10:49 AM

        @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 Mar 19, 2018, 1:39 PM Reply Quote 2
        • J Offline
          jabellas @cowboysdude
          last edited by Mar 19, 2018, 1:39 PM

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

          C 1 Reply Last reply Mar 20, 2018, 12:59 AM Reply Quote 1
          • C Offline
            cowboysdude Module Developer @jabellas
            last edited by Mar 20, 2018, 12:59 AM

            @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