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.

    Adding a background video?

    Scheduled Pinned Locked Moved Development
    15 Posts 4 Posters 11.1k Views 4 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.
    • brobergB Offline
      broberg Project Sponsor @Anthony_Haddad
      last edited by

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

      A 1 Reply Last reply Reply Quote 1
      • A Offline
        Anthony_Haddad @broberg
        last edited by

        @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

        brobergB 1 Reply Last reply Reply Quote 0
        • brobergB Offline
          broberg Project Sponsor @Anthony_Haddad
          last edited by

          @Anthony_Haddad I think @wizz is trying that now :)

          1 Reply Last reply Reply Quote 0
          • W Offline
            wizz
            last edited by

            @Anthony_Haddad @broberg Soon i will try that and report on how it works.

            1 Reply Last reply Reply Quote 0
            • johnnyboyJ Offline
              johnnyboy
              last edited by

              This post is deleted!
              brobergB 1 Reply Last reply Reply Quote 0
              • brobergB Offline
                broberg Project Sponsor @johnnyboy
                last edited by

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

                johnnyboyJ 1 Reply Last reply Reply Quote 0
                • johnnyboyJ Offline
                  johnnyboy @broberg
                  last edited by johnnyboy

                  This post is deleted!
                  brobergB 1 Reply Last reply Reply Quote 0
                  • brobergB Offline
                    broberg Project Sponsor @johnnyboy
                    last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Anthony_Haddad
                      last edited by

                      @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

                      johnnyboyJ 1 Reply Last reply Reply Quote 0
                      • johnnyboyJ Offline
                        johnnyboy @Anthony_Haddad
                        last edited by johnnyboy

                        This post is deleted!
                        A 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 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