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.

    Needing testers and feedback... and possibly an answer or 2!

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 3 Posters 2.1k Views 2 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @justjim1220
      last edited by

      @justjim1220

      @justjim1220

      I can’t help you with the issue you’re having but I will test my ubuntu dev machine.

      First, the config entry in your repo has the module name misspelled.

      module: "MMM-RandomYoutubePlayer",

      needs to be

      module: "MMM-RandomYouTubePlayer",

      And the closing } needs a comma. I only mention this because a new user might not notice this.

      After correcting these, the module works fine on my ubuntu dev machine. It’s going through the playlist. However, there is one error in the dev console.

      Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://localhost:8080').

      Create a working config
      How to add modules

      justjim1220J 1 Reply Last reply Reply Quote 3
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by

        I just googled the entire error message and received plenty of results. Looks like a good place to start jimbo

        Create a working config
        How to add modules

        cowboysdudeC 1 Reply Last reply Reply Quote 2
        • cowboysdudeC Offline
          cowboysdude Module Developer @Mykle1
          last edited by

          @mykle1 said in Needing testers and feedback... and possibly an answer or 2!:

          I just googled the entire error message and received plenty of results. Looks like a good place to start jimbo

          Ok great let us know when you have it figured out LOL

          1 Reply Last reply Reply Quote 2
          • justjim1220J Offline
            justjim1220 Module Developer
            last edited by

            UPDATE…

            It is now working as I originally wanted to an extent…

            YouTube API only allows a max of 200 videos to load into the player at a time… So what this module will do is pick 200 random videos out of a shuffled playlist (my playlist has almost 1300 videos), load them and play them in the order it randomly chose.

            I think that MAYBE I can handle that for now!

            Thanks to all those who have helped me get this figured out!!! Much Appreciated!!!

            Not sure what I did, But this error disappeared after the module started to work the way I was wanting it to!

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

            1 Reply Last reply Reply Quote 0
            • justjim1220J Offline
              justjim1220 Module Developer @Mykle1
              last edited by

              @mykle1

              Not sure what I did, But this error disappeared after the module started to work the way I was wanting it to!

              "Life's Too Short To Dance With Ugly People"
              Jim Hallock - 1995

              Mykle1M 1 Reply Last reply Reply Quote 1
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @justjim1220
                last edited by

                @justjim1220 said in Needing testers and feedback... and possibly an answer or 2!:

                Not sure what I did, But this error disappeared after the module started to work the way I was wanting it to!

                Never look a gift horse in the mouth!

                That is weird, though. Nice work sorting it out. :-)

                Create a working config
                How to add modules

                justjim1220J 1 Reply Last reply Reply Quote 0
                • justjim1220J Offline
                  justjim1220 Module Developer @Mykle1
                  last edited by

                  @mykle1 Yeah, it is still working, but there are times when I refresh or reload after making a change to the mirror, that it doesn’t work. it’s really weird!!!

                  "Life's Too Short To Dance With Ugly People"
                  Jim Hallock - 1995

                  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