]> git.0d.be Git - panikweb.git/commitdiff
templates: remove unused/hidden "display html5 audio" button
authorFrédéric Péters <fpeters@0d.be>
Tue, 3 Dec 2019 16:16:27 +0000 (17:16 +0100)
committerFrédéric Péters <fpeters@0d.be>
Tue, 3 Dec 2019 16:16:27 +0000 (17:16 +0100)
panikweb_templates/static/js/audioPlayer.js

index 98d9924f85523f7f6122553909f20d60ea0d9ca9..35f1dafd6fefc55df62772ab0feeae30e319a61f 100644 (file)
                        });
                        var controls = $('<span>',{'class':'soundControls controls'});
                        var link = $('<a>',{href:sound.url,'class':'button icon-external-link'});
-                       var html5 = $('<button>',{title:"Display HTML5 audio",'class':'icon-html5',click:function(){
-                               audio.toggle();
-                       }}).hide();
                        var remove = $('<button>',{title:"Remove from list",'class':'icon-remove',click:function(){
                                container.remove();
                                thePlaylist._update();
                                        audio.trigger('beforePlay').trigger('play');
                                }
                        }});
-                       controls.append(playpause).append(stop).append(remove).append(html5);
+                       controls.append(playpause).append(stop).append(remove);
                        var title = $('<a>',{title:"More information",href:sound.url,'class':"button title",html:sound.title});
                        container.append(controls).append(title).append(audio);
                        if(sound.focus){thePlaylist.setFocus(container);}