Read the statement by Michael Teeuw here.
MMM-YouTube
-
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.
-
@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.shStarting 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
-
@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 removedisabled:disabled["MMM-Youtube"],
line.) -
@Sean I say: YouTube Michael Jackson Thriller. And the answer is
-
@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”,
}
}
}, -
@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:
backticks
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 ~
see https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
Code and Syntax Highlighting