2016-04-18 92 views

回答

0

如果您可以使用HTML5,您应该可以做到这一点。

<audio id="sound" src="hello.mp3"></audio> 
<img onclick="document.getElementById('sound').play()" class="bilde" src="https://bnetcmsus-a.akamaihd.net/cms/gallery/04K7223BD7AU1446613320846.png"> 
+0

我对某人使用这段代码很多https://jsfiddle.net/d8m17gw1/她是一个现场示例http://www.pscompetitiveedge.com/contact.html – mlegg

相关问题