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.

    MMM-YouTube

    Scheduled Pinned Locked Moved Entertainment
    64 Posts 15 Posters 33.2k Views 16 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.
    • ? Offline
      A Former User
      last edited by A Former User

      MMM-YouTube

      MagicMirror module for youtube player with runtime configuration and controllable by notification.

      Feature

      • Embedded YouTube Player on MagicMirror
      • Load and Play videos dynamically on runtime, not only statically by configuration.
      • Almost every YouTube iFrame APIs be supported.
      • Controllable by notification and callback
      • Controllable by MMM-TelegramBot command (You can send youtube video from Phone to MM via TelegramBot)

      Download and Details

      [card:eouia/MMM-YouTube]

      Note

      I know there be some of YouTube modules already, but nothing found to be controllable on runtime. So made it.

      J rafaelcotaR 2 Replies Last reply Reply Quote 1
      • J Offline
        juantata @Guest
        last edited by

        @Sean Hi. After installing the module. When I start the MagicMirror I get this error

        magicmirror@2.8.0 start /home/pi/MagicMirror
        sh run-start.sh

        Starting MagicMirror: v2.8.0
        Loading config …
        WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: ReferenceError: disabled is not defined
        at Object. (/home/pi/MagicMirror/config/config.js:86:14)
        at Object. (/home/pi/MagicMirror/config/config.js:210:3)
        at Module._compile (internal/modules/cjs/loader.js:711:30)
        at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10)
        at Module.load (internal/modules/cjs/loader.js:620:32)
        at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
        at Function.Module._load (internal/modules/cjs/loader.js:551:3)
        at Module.require (internal/modules/cjs/loader.js:658:17)
        at require (internal/modules/cjs/helpers.js:20:18)
        at loadConfig (/home/pi/MagicMirror/js/app.js:64:12)
        Loading module helpers …
        Initializing new module helper …
        Module helper loaded: updatenotification
        No helper found for module: helloworld.
        All module helpers loaded.
        Starting server on port 8080 …
        Server started …
        Connecting socket for: updatenotification
        Sockets connected & modules started …
        Launching application.

        S ? 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @juantata
          last edited by

          @juantata can u paste your config here, three back-tics before and after

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @juantata
            last edited by

            @juantata
            Sorry, there was my mistake. I left my experimental codes on config example. I fixed the README. Back to the page and copy again (Just remove disabled:disabled["MMM-Youtube"], line.)

            J 1 Reply Last reply Reply Quote 1
            • J Offline
              juantata @Guest
              last edited by

              @Sean I say: YouTube Michael Jackson Thriller. And the answer is
              0_1567721805203_f4b9de5c-9b58-47bf-9af7-655e00fa9dc1-image.png

              ? 1 Reply Last reply Reply Quote 0
              • J Offline
                juantata @sdetweil
                last edited by

                @sdetweil {
                module: “MMM-YouTube”,
                position: “top_center”,
                config: {
                verbose:true,
                defaultQuality: “default”,
                disableCC: true,
                showPlayingOnly: true,
                defaultLoop: false,
                defaultShuffle: false,
                defaultAutoplay: true,
                onStartPlay: null,
                playerVars: {
                controls: 0,
                hl: “en”,
                enablejsapi: 1,
                showinfo: 0,
                rel: 0,
                cc_load_policy: 0,
                },
                outNotifications: {
                “-1”: “UNSTARTED”,
                “0”: “ENDED”,
                “1”: “PLAYING”,
                “2”: “PAUSED”,
                “3”: “BUFFERING”,
                “5”: “VIDEO CUED”,
                }
                }
                },

                S 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @juantata
                  last edited by

                  @juantata it seems not allowed. some clips are limited by right owner not to be played out of youtube

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @juantata
                    last edited by

                    @juantata forgot the 3 backticks before and after

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      juantata @sdetweil
                      last edited by

                      @sdetweil said in MMM-YouTube:

                      backticks

                      Sorry but I’m a newbie. What do you mean with the three backticks?

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @juantata
                        last edited by sdetweil

                        @juantata on the US keyboard, shifted key left of the number 1 ` (like single quote, but leaning to the left) . the non shifted symbol is tidle ~

                        see https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
                        Code and Syntax Highlighting

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        mumblebajM 1 Reply Last reply Reply Quote 0
                        • mumblebajM Offline
                          mumblebaj Module Developer @sdetweil
                          last edited by

                          @sdetweil I thought it was the other way around? Tilda (~) was shifted and back tick (`) non shifted? :smiling_face_with_open_mouth_smiling_eyes:

                          Check out my modules at: https://github.com/mumblebaj?tab=repositories
                          Check my blog-post: https://mumblebaj.xyz/
                          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @mumblebaj
                            last edited by

                            @mumblebaj maybe, my keyboard has them labeled backwards

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              juantata @sdetweil
                              last edited by

                              @sdetweil
                              Hi. I don’t know where it could be wrong. I have copied it the same.

                              0_1567796105355_6549a2d2-a5c0-42bc-a08b-2c006cb63253-image.png

                              ? 1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User @juantata
                                last edited by A Former User

                                @juantata
                                I don’t know Spanish at all, Anyway “El video no esta disvonible” looks like “The video is not available”
                                The reason would be various.

                                • The clip is removed (sometimes it is searchable but not playable)
                                • The clip is not allowed to be played outside of YouTube websites by it’s right owner. (I don’t know why owners restrict their clip, but some did)

                                Anyway, that is not the issue of module itself.

                                J 1 Reply Last reply Reply Quote 0
                                • J Offline
                                  juantata @Guest
                                  last edited by

                                  @Sean Hi. It asks me to update. How is it done?

                                  ? 1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User @juantata
                                    last edited by

                                    @juantata ???

                                    J 2 Replies Last reply Reply Quote 0
                                    • J Offline
                                      juantata @Guest
                                      last edited by

                                      @Sean An update is available for the MM-Youtube module.
                                      Your current installation is 1 commint changes behind the master branch.

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        juantata @Guest
                                        last edited by

                                        @Sean 0_1568323644518_b5dce66e-3a89-4021-a95e-74ae66c09030-image.png

                                        ? 1 Reply Last reply Reply Quote 0
                                        • ? Offline
                                          A Former User @juantata
                                          last edited by

                                          @juantata Go to MMM-YouTube directory then do the command git pull, but the update was not so important so you can ignore it.

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            juantata @Guest
                                            last edited by

                                            @Sean Hi. I’m sorry to give you the can so much.
                                            To call the youtube module I say:
                                            Ok google + singer’s name + song title, and the result is this

                                            0_1568660540508_f0ad5dc5-0492-4ad8-9f50-988e73586702-image.png

                                            The result is the same with any video I request.

                                            S ? 2 Replies Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • 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