MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Trouble playing audio file

    Troubleshooting
    3
    15
    202
    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.
    • M
      mZuil @bugsounet last edited by

      Thanks to both of you!
      I have just tried the code and it works in a js file, but when I try to replicate this code in the MMirror I get the error that opts is not defined. Where do I have to declare opts?

      M 1 Reply Last reply Reply Quote 0
      • M
        mZuil @mZuil last edited by

        I am writing this code in the node_helper file

        B 1 Reply Last reply Reply Quote 0
        • B
          bugsounet @mZuil last edited by

          @mZuil post your part of module code, I have do see what you have done 😉


          I am not a reference in this forum
          I am not a magician
          I'm just a developer

          Please DON'T ADS ANY of My Modules There !

          Follow new support of 4th party modules on https://forum.bugsounet.fr

          M 1 Reply Last reply Reply Quote 0
          • M
            mZuil @bugsounet last edited by

            @bugsounet It actually works!! 😊 It happened because I was using the “use strict” directive, but without it, everything works as it should.
            Wow, guys, you helped me a lot!! I will add you in the acknowledgement section of my final degree project hahaha 🤗

            B 1 Reply Last reply Reply Quote 0
            • B
              bugsounet @mZuil last edited by

              @mZuil It’s better to add MagicMirror forum and not me, Thanks 🙂
              because my signature says : I am not a reference in this forum

              In all case i’m glade that works for you.
              Happy use,
              @bugsounet


              I am not a reference in this forum
              I am not a magician
              I'm just a developer

              Please DON'T ADS ANY of My Modules There !

              Follow new support of 4th party modules on https://forum.bugsounet.fr

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 2 / 2
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy