html5 audio player - jquery toggle click play/pause?

前端 未结 15 2400
南笙
南笙 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

    Here is my solution using jQuery

    
    

    And the working demo

    http://demo.ftutorials.com/html5-audio/

提交回复
热议问题