MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.


  • Module Developer


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


    • 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


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

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

    magicmirror@2.8.0 start /home/pi/MagicMirror

    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.

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

  • Module Developer

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

  • @Sean I say: YouTube Michael Jackson Thriller. And the answer is

  • @sdetweil {
    module: “MMM-YouTube”,
    position: “top_center”,
    config: {
    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”,

  • Module Developer

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

  • @juantata forgot the 3 backticks before and after

  • @sdetweil said in MMM-YouTube:


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

  • @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 ~

    Code and Syntax Highlighting

Log in to reply