Read the statement by Michael Teeuw here.
MMM-htmlvideo, Basic video file player
-
@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
-
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,
- The video will not run automatically by default so that I can still see other information clearly.
- 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!
-
@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.
-
@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.
-
@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 :)