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.
    • 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 Do not disturb
            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 Do not disturb
                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 Do not disturb
                    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
                                    • S Do not disturb
                                      sdetweil @juantata
                                      last edited by

                                      @juantata what version of MagicMirror are u running? we added a fix in 2.8 to allow autoplay

                                      edit ~/MagicMirror/js/electron.js

                                      make sure the line below is present
                                      // Keep a global reference of the window object, if you don't, the window will
                                      // be closed automatically when the JavaScript object is garbage collected.
                                      let mainWindow;
                                      
                                      function createWindow() {
                                      	
                                      	app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required"); //< --- this line
                                      

                                      if not, add it then stop and restart MagicMirror

                                      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
                                        0_1568662348642_92f02c4b-d4f7-404b-8267-fc0d410279a5-image.png

                                        the video finds him

                                        0_1568662458953_1bf326a2-2459-4596-a32d-e9b4c457aaad-image.png

                                        The electron.js file

                                        0_1568663047038_e741b381-4257-4dfb-bb13-b02e4ea79745-image.png

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @juantata
                                          last edited by

                                          @juantata great info… but then not the problem…

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

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

                                            @juantata said in MMM-YouTube:

                                            To call the youtube module I say:
                                            Ok google + singer’s name + song title, and the result is this

                                            I have a little confusion. Are you talking about MMM-AssistantMk2 or MMM-Youtube? MMM-Youtube is not activated by MMM-AssistantMk2 yet. (I will connect both on next updates, but I have not enough time to focus nowadays) So I can’t catch your point at this time.

                                            J 3 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
                                            • 3 / 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