Skip to content
YouTube iFrame API module for MagicMirror
Branch: master
Clone or download
Latest commit d652195 Jan 12, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
MMM-YouTube-API.js Fixed naming issues once and for all Jan 12, 2018 Update Jan 12, 2018


This a module for the MagicMirror. It helps you easily implement YouTube videos to be played in your MagicMirror by using YouTube's own iFrame API.

Using the module

To use this module, add it to the modules array in the config/config.js file:

modules: [
		module: 'MMM-YouTube-API',
		position: 'top_center',
                config: {
                    //Config here
Option Description
width The width of the video.

Default value: 640
height The height of the video.

Default value: 360
videoID The YouTube video ID.

  Id: Sagg08DrO5U

Default value: Sagg08DrO5U
playbackRate The rate at which the video plays.

Valid values: 0.25, 0.5, 1, 1.5, 2

Default value: 1
volume The playback volume of the selected video.

Valid values: 0 - 100

Default value: 100
loop Should the video loop?

Valid values: true or false

Default value: true

Made in collaboration with my dear friend Alfred

You can’t perform that action at this time.