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

Anyone face problem with MMM-EmbedYoutube module

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 3 Posters 2.2k Views 3 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.
  • W Offline
    werdnllac
    last edited by Feb 26, 2018, 3:31 PM

    I had followed the instruction and added the scripts as per follow:

    I edited config.js and added the script:

    modules: [
    	{
    		module: "MMM-EmbedYoutube", // Path to youtube module from modules folder Exmaple: MagicMirror/modules/custom/MMM-EmbedYoutube/ so it's custom/MMM-EmbedYoutube
    		position: "bottom_bar",	// This can be any of the regions.
    		config: {
    			// See 'Configuration options' for more information.
    			video_id: "w3jLJU7DT5E"
    		}
    	}
    ]
    

    And created a directory as /MagicMirror/modules/custom/MMM-EmbedYoutube created the 3 files:

    1. MMM-EmbedYoutube.js
    2. license.txt (Although it is not necessary)
    3. README.md

    But the script don’t work at all despite many attempts. I have also tried edited “video_id: “w3jLJU7DT5E”” for the source of the video.

    Any thoughts?

    1 Reply Last reply Reply Quote 0
    • P Offline
      pinsdorf Module Developer
      last edited by Feb 27, 2018, 12:30 PM

      One thing which does not look right is the custom in your path. Moreover your path is in the root and not under /home/pi. It should read /home/pi/MagicMirror/modules/MMM-EmbedYoutube or ~/MagicMirror/modules/MMM-EmbedYoutube, which is equivalent for user pi.

      From your description I get the impression that you did not use the tool git to checkout the module into your modules directory. Is this possible? If so, please do the following:

      • cd ~/MagicMirror/modules
      • git clone https://github.com/nitpum/MMM-EmbedYoutube.git
      • Leave the config.js as it is, it looks good
      • Start your Magic Mirror
      1 Reply Last reply Reply Quote 0
      • W Offline
        werdnllac
        last edited by werdnllac Feb 28, 2018, 2:41 AM Feb 28, 2018, 2:00 AM

        Hi pinsdorf, thanks for your prompt reply. I manage the clone and it works now. Thanks

        1 Reply Last reply Reply Quote 0
        • W Offline
          werdnllac
          last edited by Feb 28, 2018, 2:05 AM

          This post is deleted!
          W 1 Reply Last reply Feb 28, 2018, 2:37 AM Reply Quote 0
          • W Offline
            werdnllac @werdnllac
            last edited by Feb 28, 2018, 2:37 AM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • J Offline
              jchenaud
              last edited by Aug 22, 2018, 9:42 AM

              hi ! thk for modul.
              i have just one problem : i need to make definition lower because my Pi go slowly with video how i am suppose to do ?

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • 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