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

MMM-YouTube

Scheduled Pinned Locked Moved Entertainment
64 Posts 15 Posters 23.3k 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.
  • S Away
    sdetweil @juantata
    last edited by Sep 16, 2019, 7:13 PM

    @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 Sep 16, 2019, 7:45 PM Reply Quote 0
    • J Offline
      juantata @sdetweil
      last edited by Sep 16, 2019, 7:45 PM

      @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 Sep 16, 2019, 7:46 PM Reply Quote 0
      • S Away
        sdetweil @juantata
        last edited by Sep 16, 2019, 7:46 PM

        @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 Sep 16, 2019, 7:50 PM

          @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 Sep 16, 2019, 8:43 PM Reply Quote 0
          • J Offline
            juantata @Guest
            last edited by Sep 16, 2019, 8:43 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • J Offline
              juantata @Guest
              last edited by Sep 16, 2019, 8:47 PM

              @Sean
              How do you use the module?

              J 1 Reply Last reply Sep 16, 2019, 9:07 PM Reply Quote 0
              • J Offline
                juantata @juantata
                last edited by Sep 16, 2019, 9:07 PM

                @juantata
                Wrongly asked the question

                1 Reply Last reply Reply Quote 0
                • J Offline
                  juantata @Guest
                  last edited by Sep 16, 2019, 9:11 PM

                  @Sean
                  How do you make the module work?

                  S 1 Reply Last reply Sep 16, 2019, 9:18 PM Reply Quote 0
                  • S Away
                    sdetweil @juantata
                    last edited by Sep 16, 2019, 9:18 PM

                    @juantata you need some other module to send it a command (notification)
                    see the doc

                    https://github.com/eouia/MMM-YouTube

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    J 1 Reply Last reply Sep 16, 2019, 9:26 PM Reply Quote 0
                    • J Offline
                      juantata @sdetweil
                      last edited by Sep 16, 2019, 9:26 PM

                      @sdetweil
                      MMM-TelegramBot?

                      If this is, I thought it was optional.

                      S 1 Reply Last reply Sep 16, 2019, 9:29 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 3 / 7
                      3 / 7
                      • First post
                        25/64
                        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