• Serinus@lemmy.world
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    10 months ago

    Javascript is overkill. Open a file on your desktop, name it whatever.html. Open it in notepad, put this in it. Save it, open it in your browser.

    • nooeh@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      10 months ago

      Lol I can understand what that does. The reason I am asking about JavaScript is that potentially I can use it like a url.

        • nooeh@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          7 months ago

          Thank you so much!! Data URLs were exactly what I was looking for with a little modification! Apparently chrome doesn’t allow looping with audio unless it meets certain strict criteria per google. Here is my final URL:

          data:text/html,