• Welcome to XF2 Addons. You can buy my Premium membership for $35 per year, and this gives you access to download any or ALL of the 250+ add-ons that I have developed for Xenforo 2.x. In addition, Premium members will get technical support. Once the Premium membership has expired you can continue to use the installed addons on your forum as long as you like.

Audio add-on download button in Chrome


Andy

Administrator
In Google Chrome, there's a download button in the audio player.

pic001.png


If you would like to remove this button, follow the these instructions:

Edit the /misc/audio.php file
PHP:
<?php
$url = $_GET['url'];
?>
<audio controls>
<source src="<?php echo $url;?>">
</audio>
change to
PHP:
<?php
$url = $_GET['url'];
?>
<audio controls controlsList="nodownload">
<source src="<?php echo $url;?>">
</audio>
 

Andy

Administrator
Make sure you edit the /misc/audio.php file and not the Andy/Audo/audio.php file as the file health check system will indicate the file has been changed.
 
Top