Opening audio link

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • glennrocksvb
    replied
    Use <audio> tag.

    And that's a wrap — we hope you had fun playing with video and audio in web pages! In the next article, we'll look at other ways of embedding content on the Web, using technologies like and .

    Leave a comment:


  • dtommy79
    started a topic Opening audio link

    Opening audio link

    Hi,

    I've got this code

    HTML Code:
    <p style="text-align: center;"><a href="http://mysite.com/uploads/hermano.mp3" target="_self"><img src="http://mysite.com/uploads/audio-button.png" alt="audio-button" width="79" height="79" /></a></p>
    This displays an image linked to an audio file. When I click on the image, an audio player of the browser will open up in a new window.

    How can I do this so that when I click on the image, the audio file will play automatically without opening any player or window?

    Thanks

Related Topics

Collapse

Working...