Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. General Discussion
  3. Audio player on OpenStreetMap

Audio player on OpenStreetMap

Scheduled Pinned Locked Moved General Discussion
8 Posts 2 Posters 719 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.
  • O
    O
    Okvmh
    wrote on last edited by
    #1

    Hi !
    I'm trying to add lay theme audio player in OpenStreetMap but it doesn't work.
    I tried with the URL Capture d’écran 2020-11-13 à 17.40.44.png
    but this appears on the map Capture d’écran 2020-11-13 à 17.47.06.png

    I also tried with the shortcode but this appears Capture d’écran 2020-11-13 à 17.49.26.png

    I can put a link, but I would like to have the player directly on the popup of the map.

    Can someone help me ?

    Thxxxx

    1 Reply Last reply
    0
    • RichardR
      RichardR
      Richard
      Global Moderator
      wrote on last edited by
      #2

      Dear @Okvmh

      Unsure if this is possible?

      Have you seen this thread?
      http://laythemeforum.com/topic/795/audio/2

      Also if you could post a link to the website in question that would be great :)

      Best
      Richard

      1 Reply Last reply
      0
      • O
        O
        Okvmh
        wrote on last edited by
        #3

        Hi Richard
        Thanks for your answer

        Yes I already tried with
        <audio src="YOUR-URL" controls> </audio>

        and also tried with explanations on Mozilla.org or wp.org

        Here is the map http://u.osmfr.org/m/507639/
        and the website http://www.soundmark.fr/ (but the map is not on it yet)

        1 Reply Last reply
        0
        • RichardR
          RichardR
          Richard
          Global Moderator
          wrote on last edited by Richard
          #4

          Dear @Okvmh

          Lets try it step by step,
          First lets see if you can have the audio player in your Gridder. you can add the following code:

          <audio controls>
            <source src="https://freesound.org/data/previews/545/545208_3914271-lq.ogg" type="audio/ogg">
            <source src="https://freesound.org/data/previews/545/545208_3914271-lq.mp3" type="audio/mpeg">
            Your browser does not support the audio tag.
          </audio>
          

          With ' +More - HTML " :
          Screen Shot 2020-09-14 at 2.50.29 PM.png

          So we end up with something like this:

          Screen Shot 2020-11-18 at 11.03.57 AM.png

          Then go to the actual page and make sure you can hear the music.

          Then add the Shortcode of the Map to the Gridder Section above the Audio:
          Screen Shot 2020-11-18 at 11.03.57 AM.png

          Are you able to set this up?

          Let me know and best wishes :)

          Richard

          1 Reply Last reply
          0
          • O
            O
            Okvmh
            wrote on last edited by
            #5

            Hi Richard
            Thank you
            But yes the player works on my gridder and appear on the website, but my problem is to make it appear directly on the map.

            1 Reply Last reply
            0
            • RichardR
              RichardR
              Richard
              Global Moderator
              wrote on last edited by
              #6

              Dear @Okvmh

              Great so they are both working? Map on top - Audio player on the bottom - Now using Some Custom CSS we should be able to push the audio player upwards over the Map! :)

              Could you post the link to the page with this setup and i will try to add some CSS to help

              Let me know, & have a wonderful day :)

              Sincerely
              Richard

              1 Reply Last reply
              0
              • O
                O
                Okvmh
                wrote on last edited by
                #7

                Hi Richard, it was a problem with my hosting, it is solved ! thank you !

                1 Reply Last reply
                0
                • RichardR
                  RichardR
                  Richard
                  Global Moderator
                  wrote on last edited by
                  #8

                  Dear @Okvmh

                  Great to hear! :)

                  Merry Christmas and seasons greetings!

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  Online Users
                  O
                  OeilVif
                  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