Play audio file on hover

Posted by powtac on Stack Overflow See other posts from Stack Overflow or by powtac
Published on 2010-06-10T11:23:28Z Indexed on 2010/06/10 11:33 UTC
Read the original article Hit count: 245

Filed under:
|
|

What is the best solution to play an audio file on mouse over via JavaScript? And stop it when the mouse leaves the link. jQuery is available.

  <a href="/test.mp3" class="play">play</a>

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery