Read the statement by Michael Teeuw here.
Adding a background video?
-
Hey all!
I was helping a mate of mine set up his magic mirror the other day and he asked me an interesting question: Instead of having a black background is it possible to have a video play in the background? IF it’s possible how would this be achieved?
Kind regards,
Tony -
@Anthony_Haddad my first thought was if background-image could handle this, but no go. Unless you convert it to a humongous GIF.
But MM2 can handle the HTML video tag, and supports some videoformats, so here is the freshly baked basic htmlvideo player module!
[card:brobergp/MMM-htmlvideo]
-
@broberg Thanks so much, I will install it soon as possible because I’m quite busy at the moment with school. Sorry, but would it be also possible to have like a playlist of videos playing?
Much appreciated!
Tony
-
@Anthony_Haddad I think @wizz is trying that now :)
-
@Anthony_Haddad @broberg Soon i will try that and report on how it works.
-
This post is deleted! -
@johnnyboy It’s not advance enough to handle live streams as we hoped, the html video is limited to what the browser can play, so for Chrome that is H.264 in MP4, Theora and Vorbis in Ogg, and VP8 and Vorbis in WebM (source : https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats)
You can play files from anywhere, no restrictions as long as it is a file and not a live stream (that requires m3u8 or similar)
You can place the module anywhere and use css to set the size of the videoclip.
-
This post is deleted! -
@johnnyboy as long as the MM2 browser can play it then yes, other than the formats listed in the link I don’t know, you have to try it and see.
-
@broberg I have a MP4 video saved on the Pi, I configured the ‘VideoSRC’ with the path of the video and it wouldn’t play, is it due to it only being able to play html videos from the web?
Cheers,
-Tony