• 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 26.0k 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 May 30, 2019, 1:54 AM May 30, 2019, 1:52 AM

    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 R 2 Replies Last reply Sep 5, 2019, 8:28 PM Reply Quote 1
    • J Offline
      juantata @Guest
      last edited by Sep 5, 2019, 8:28 PM

      @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 Sep 5, 2019, 9:18 PM Reply Quote 0
      • S Offline
        sdetweil @juantata
        last edited by Sep 5, 2019, 9:18 PM

        @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 Sep 5, 2019, 10:20 PM Reply Quote 0
        • ? Offline
          A Former User @juantata
          last edited by Sep 5, 2019, 9:20 PM

          @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 Sep 5, 2019, 10:18 PM Reply Quote 1
          • J Offline
            juantata @Guest
            last edited by Sep 5, 2019, 10:18 PM

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

            ? 1 Reply Last reply Sep 5, 2019, 10:21 PM Reply Quote 0
            • J Offline
              juantata @sdetweil
              last edited by Sep 5, 2019, 10:20 PM

              @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 Sep 5, 2019, 10:43 PM Reply Quote 0
              • ? Offline
                A Former User @juantata
                last edited by Sep 5, 2019, 10:21 PM

                @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 Sep 5, 2019, 10:43 PM

                  @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 Sep 6, 2019, 9:06 AM Reply Quote 0
                  • J Offline
                    juantata @sdetweil
                    last edited by Sep 6, 2019, 9:06 AM

                    @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 Sep 6, 2019, 12:20 PM Reply Quote 0
                    • S Offline
                      sdetweil @juantata
                      last edited by sdetweil Sep 6, 2019, 12:24 PM Sep 6, 2019, 12:20 PM

                      @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 Sep 6, 2019, 2:18 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 1 / 7
                      • 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