@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.
Read the statement by Michael Teeuw here.
Posts
-
RE: Adding a background video?
-
RE: MMM-htmlvideo, Basic video file player
@LeztherRokk lets see your config file
-
RE: Adding a background video?
@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.
-
RE: Changing Module Display Width
@deadherring add
maxTitleLength : 50,in the calendar config, default is set to 25 -
RE: [ORDER CLOSED] Two way mirror order in Germany
@olexs it actually looks like there is a space between the glass and the monitor frame, but I could be wrong :)
-
RE: [ORDER CLOSED] Two way mirror order in Germany
@olexs now, I don’t have this glass on my mirror, but in my experience the reflection part will become much better when there is no light coming from the back as it does now! :) (Even the tiniest amount of light from the other side lessen the reflection!)
-
RE: npm start dev doesn't work
@romain you have to get in to the magic mirror folder first before you can run npm start
Ie type
cd MagicMirror
And then
npm startOr
display=:0 npm start
If you are running it via ssh -
RE: Stopsol classic clear glass
@AwesomeZebra The light transmission can go up to 40% if the room/area is really bright/daylight bright.
But yes, the optimal is 12-20% for a normal room.But looking at the classic clear specs I think the reflection numbers are the big negative, a normal mirror has about 80%+ in light reflection, 28/36% is a bit to low in my opinion.
-
RE: Changing Module Display Width
.calendar { width : 350px; }It’s not supposed to be inside the
body{}and since it is a default/stock module it doesn’t use the MMM prefix like other modules does so the class name of the module is just.calendar -
RE: Adding a background video?
@Anthony_Haddad I think @wizz is trying that now :)
-
MMM-htmlvideo, Basic video file player
Description:
This module will play a video file on your magicmirror, using the html video tag so the fileformats are limited to what the browser supports.
Use CSS to adjust size, placement etc etc.
Make sure the browser has autoplay enabled since the controls are hidden.Download:
[card:brobergp/MMM-htmlvideo]
Version 0.1
Startupversion, nothing fancy.
-
RE: Using the Raspberry Pi Camera to see through the mirror
@Synthic I can tell you that my nexus 5 camera does not like my glass at all, al tough, the light transmission on my mirror is really low.
-
RE: Rolling Banner
@johnnyboy I just wanted to state the source, since I basically just copied the css code, (credit where credit is due :D )
The css I posted above will scroll any text you enter in the config for the helloworld module, no need to alter any code.
-
RE: MMM-doomsDay - The countdown module,
@bminer1 nice catch, the example was wrong, somehow I missed that!
(it’s correct in the Configuration list however)Multiple instances in the config is the way to go at the moment,
-
RE: Using the Raspberry Pi Camera to see through the mirror
Do consider that there is difference in properties between the types of two way mirrors out there,
one type could work well with a camera lens while another type doesn’t work at all.for an example many two way coatings are made to filter out IR light.
-
RE: Rolling Banner
try this in your custom.css
.helloworld { height: 125px; width: 600px; overflow: hidden; position: relative; } .helloworld div { display: block; width: 100%; height: 130px; position: absolute; overflow: hidden; animation: marquee 10s linear infinite; } @keyframes marquee { 0% { left: 50%; } 100% { left: -100%; } }Do note, the Pi doesn’t handle css animations that good, it lacks hardware acceleration.
The css is mostly taken from : https://codepen.io/jamesbarnett/pen/kfmKa
-
RE: Adding a background video?
@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]
-
RE: MMM-doomsDay - The countdown module,
@bberg115 Nice :D (easy to remember the anniversary then haha ;) )
My username is my lastname, so it’s easy to remember hahaha