LoginSignup
2

More than 5 years have passed since last update.

audioタグでmp3再生をfirefox等で対応させる

Posted at

こんなかんじで再生したかったら

<audio src="hogehoge.mp3" preload="none" controls>can not open audio file</audio>

ヘッダー内に以下を追加。

<script type="text/javascript" src="http://api.html5media.info/1.1.4/html5media.min.js"></script>

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2