html5 audio player - jquery toggle click play/pause?

前端 未结 15 2399
南笙
南笙 2020-11-28 06:24

i wonder what i\'m doing wrong?

    $(\'.player_audio\').click(function() {
    if ($(\'.player_audio\').paused == false) {
        $(\'.player_audio\').paus         


        
15条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-28 06:33

    Because Firefox does not support mp3 format. To make this work with Firefox, you should use the ogg format.

提交回复
热议问题