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

youtube - Embedded YouTube on Your MagicMirror

Scheduled Pinned Locked Moved Entertainment
22 Posts 11 Posters 22.9k Views 11 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.
  • Z Offline
    zichao92
    last edited by zichao92 Mar 17, 2017, 11:43 PM Mar 17, 2017, 11:31 AM

    Description:

    Hi everyone,

    This is my first module development so please pardon me if i made any mistakes. This module allows you to play and control youtube video by using Jopyth’s Remote Control Module. This module wont be possible without the help of @Jopyth & @strawberry-3-141

    When you press “hide-all” under his Remote control module, the youtube video will appear and start playing.
    So the opposite will happen when you press “show-all”, youtube pause and disappears.

    P.S : Im relatively new to programming so please bear with me if I couldn’t understand your request.

    Screenshots:

    alt text
    alt text

    Download:

    [card:zichao92/youtube]

    1 Reply Last reply Reply Quote 0
    • B Offline
      broberg Project Sponsor
      last edited by broberg Mar 17, 2017, 12:05 PM Mar 17, 2017, 11:48 AM

      This will please many users! @wizz will love it I think ;)

      I would suggest you merge the Pull request on github from fewieden to make it easier for people to change the video in the config file instead of altering the module code!

      And, format your first post so it conforms to the showcase guidelines : https://forum.magicmirror.builders/topic/1440/showcase-guidelines

      (remove the spaces between the brackets to get the card to show up in your post)

      Y W 2 Replies Last reply Mar 17, 2017, 12:02 PM Reply Quote 2
      • Y Offline
        yawns Moderator @broberg
        last edited by Mar 17, 2017, 12:02 PM

        @broberg
        I jumped in and changed the post. Thanks for pointing this out :)

        1 Reply Last reply Reply Quote 0
        • Z Offline
          zichao92
          last edited by Mar 17, 2017, 12:05 PM

          Sorry im not too familiar with the guidelines. Thanks for amending them !

          Im a new user to GitHub as well. Do correct me if there are any errors.

          1 Reply Last reply Reply Quote 0
          • C Offline
            cowboysdude Module Developer
            last edited by Mar 17, 2017, 12:20 PM

            Nice job!

            1 Reply Last reply Reply Quote 0
            • D Offline
              djo
              last edited by Mar 17, 2017, 9:57 PM

              Hi dude,
              Thank you for your module, nice job and nice module.
              However, i have some suggestions.
              Is there a way to NOT put code inside the MMM-remote module. My concern is if I do a git pull of the MMM-remote, I will lose the code I wrote inside? Is the developer of MMM-remote can implement a patch and “link” your module to his?
              What do you think about setting an input in the remote.html to load a youtube video (the user will only have to do a copy/paste)
              What do you also think of authorizing a user to load a website into an iframe? And if the url starts with “http://www.youtube.com”, load the video. If not just display the web page in an iframe?

              S Z 2 Replies Last reply Mar 17, 2017, 10:03 PM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @djo
                last edited by Mar 17, 2017, 10:03 PM

                @djo there is a pr in the pipe to switch the id without modifying something, this can be extended so there is no need to modify a module at all

                Please create a github issue if you need help, so I can keep track

                Z 1 Reply Last reply Mar 17, 2017, 11:42 PM Reply Quote 0
                • Z Offline
                  zichao92 @strawberry 3.141
                  last edited by Mar 17, 2017, 11:42 PM

                  Hi @strawberry-3.141 ,

                  What’s this “pr in the pipe” that you mentioned? Im interested in learning it.

                  1 Reply Last reply Reply Quote 0
                  • Z Offline
                    zichao92 @djo
                    last edited by Mar 17, 2017, 11:44 PM

                    @djo

                    Im finding a work around for your request. However, im a little busy with my school and assignments. I’ll look into it once Im free!

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wizz @broberg
                      last edited by Mar 24, 2017, 7:07 AM

                      @broberg This i will try, As it was close to what i want :)
                      The only thing is that i don´t want to hide the rest of the modules but i will try and see.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        2/22
                        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