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

Halloween mirror ghouls anyone?

Scheduled Pinned Locked Moved General Discussion
56 Posts 18 Posters 54.9k Views 19 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
    Jopyth Moderator @rvdgeer
    last edited by Jopyth Sep 30, 2016, 11:05 AM Sep 30, 2016, 11:04 AM

    @rvdgeer Good idea.

    If anyone wants to see how this looks (with a gif it is pretty simple):

    		{
    			module: "helloworld",
    			position: "fullscreen_below",
    			config: {
    				text: "<img src='https://thumbs.gfycat.com/DiscreteDenseCockroach-size_restricted.gif' alt='GIF test' style='position:absolute; top:100%; left:50%; transform: translate(-50%, -100%); width:100%;'>"
    			}
    		},
    

    Helpful sticky: How to troubleshoot

    R 1 Reply Last reply Oct 2, 2016, 9:00 PM Reply Quote -1
    • R Offline
      rvdgeer @Jopyth
      last edited by paviro Oct 3, 2016, 12:23 PM Oct 2, 2016, 9:00 PM

      I did sudo apt-get install omxplayer and included a video using <video> tags in the helloworld module.
      It works great!


      Note from admin: Please use Markdown on code snippets for easier reading!

      R 1 Reply Last reply Oct 4, 2016, 3:02 PM Reply Quote 1
      • R Offline
        rvdgeer @rvdgeer
        last edited by rvdgeer Oct 4, 2016, 3:03 PM Oct 4, 2016, 3:02 PM

        Note from admin: Please use Markdown on code snippets for easier reading!

        Markdown is not available from my Android smartphone. I don’t have the correct character available…
        And it’s a little too much to ask, to look-up the character on the web, so I can copy it…

        J B 2 Replies Last reply Oct 5, 2016, 2:31 AM Reply Quote 1
        • J Offline
          jtyle6 @rvdgeer
          last edited by jtyle6 Oct 5, 2016, 2:33 AM Oct 5, 2016, 2:31 AM

          @rvdgeer said in Halloween mirror ghouls anyone?:

          Note from admin: Please use Markdown on code snippets for easier reading!

          Markdown is not available from my Android smartphone. I don’t have the correct character available…
          And it’s a little too much to ask, to look-up the character on the web, so I can copy it…

          Markdown forms an Android phone
          
          1 Reply Last reply Reply Quote 0
          • M Offline
            Mitchfarino Module Developer @Jopyth
            last edited by Oct 5, 2016, 7:42 AM

            @Jopyth Have you had any luck with this mate?

            I haven’t looked at it for a while, have had a few things going on so haven’t had chance

            J 1 Reply Last reply Oct 6, 2016, 10:53 AM Reply Quote 0
            • J Offline
              Jopyth Moderator @Mitchfarino
              last edited by Oct 6, 2016, 10:53 AM

              @Mitchfarino did not have the time for it. I will see if I get to it, when I get back from vacation in one week.

              Helpful sticky: How to troubleshoot

              1 Reply Last reply Reply Quote 0
              • B Offline
                bhepler Module Developer
                last edited by bhepler Oct 10, 2019, 12:53 AM Oct 7, 2016, 1:11 PM

                I experimented with this a bit yesterday. Thanks to @rvdgeer for the hint and @Jopyth for the initial code to start.

                I ripped a YouTube video to disk and uploaded it to my Pi, putting it in the vendor folder. Adding this to my config.js was surprisingly effective (the rotate 90 is due to the video being designed to be projected on a window):

                {     module: "helloworld",
                      position: "fullscreen_below",  
                      config: {
                                text: "<video src='vendor/halloween.mp4' autoplay loop style='transform:rotate(90deg); position:absolute; top:50%;left:30%; height:50%'></video>"
                               }
                 },
                M 2 Replies Last reply Oct 7, 2016, 1:47 PM Reply Quote 1
                • M Offline
                  Mitchfarino Module Developer @bhepler
                  last edited by Mitchfarino Oct 7, 2016, 1:48 PM Oct 7, 2016, 1:47 PM

                  @bhepler What video did you use? Sorry I missed the link

                  How did you rip it from YouTube?

                  Y 1 Reply Last reply Oct 7, 2016, 1:58 PM Reply Quote 0
                  • Y Offline
                    yawns Moderator @Mitchfarino
                    last edited by Oct 7, 2016, 1:58 PM

                    @Mitchfarino
                    check your chat ;)

                    M 1 Reply Last reply Oct 7, 2016, 1:58 PM Reply Quote 0
                    • M Offline
                      Mitchfarino Module Developer @yawns
                      last edited by Oct 7, 2016, 1:58 PM

                      @yawns Awesome, thank you!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 3 / 6
                      3 / 6
                      • First post
                        23/56
                        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