Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Feedback
  3. Audio

Audio

Scheduled Pinned Locked Moved Feedback
5 Posts 3 Posters 2.1k Views
  • 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.
  • J Offline
    J Offline
    jhc
    wrote on Nov 16, 2016, 2:47 PM last edited by
    #1

    Hello.

    I am a musician and bought Laytheme after a design friend recommended it.
    Now I see the only way to implement audio is to embed soundcloud links. If I didnt overlook a feature. The problem is I dont want soundcloud branding on my website.

    Could there be an audio player in the future? Or should I get another solution like another wordpress template?

    Cheers, Julius

    1 Reply Last reply
    0
    • A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote on Nov 17, 2016, 3:24 PM last edited by
      #2

      hey Julius! i guess you want to embed audio using wordpress' standard/built-in mp3 player. That one doesn't work in lay theme currently, but I believe its a bit ugly anyway.

      Anyway, to get an unbranded audio player, please upload an mp3 into your media library. Then click on that mp3 to open the information and copy the "URL".

      Now in the gridder please go to "+more" -> "+html".
      Now enter:

      <audio src="YOUR-URL" controls> </audio>
      

      Here is a very technical explanation about the "audio" tag: https://developer.mozilla.org/en/docs/Web/HTML/Element/audio

      Here is a list of embeds that should work (in case you dont want to go for the unbranded audio player):
      https://codex.wordpress.org/Embeds

      this includes spotify. If your song is played through spotify you get some money for that no?

      1 Reply Last reply
      2
      • J Offline
        J Offline
        jhc
        wrote on Jan 10, 2021, 3:18 PM last edited by jhc Jan 10, 2021, 10:42 AM
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • N Offline
          N Offline
          nicorinker
          wrote on Feb 14, 2024, 8:21 AM last edited by
          #4

          Hey @arminunruh !
          how do I delete the download option in the controls of the audio player? Not really good in html, so I could need a little help here :-)

          Thank you!
          Nico

          1 Reply Last reply
          0
          • A Offline
            A Offline
            arminunruh
            Global Moderator
            wrote on Feb 14, 2024, 7:27 PM last edited by arminunruh Feb 14, 2024, 2:27 PM
            #5

            source:

            https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
            https://wicg.github.io/controls-list/explainer.html

            <audio controls controlslist="nodownload" src="/media/cc0-audio/t-rex-roar.mp3"></audio>
            

            add it using +more -> +html
            in the gridder

            and the url needs to be the url of your audio file, and it should be uploaded using the media library

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            I also code custom websites or custom Lay features.
            💿 Email me here: 💿
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

            This often solves issues you might run into

            When you post:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search