I'm trying to remove all download options from audiofield for anonymous users... Even though I've adjusted the permission settings to only allow admins to download files AND adjusted 'Manage Display' options to 'audio player only', anonymous users are still able to view / download the file via the download icon (arrow) located next to volume on the audio player display. I'm using D7.56 w/ AudioField Version: 7.x-1.2 and I've included some screen shots of my settings... Perhaps I'm missing something? Any thoughts / advice would be greatly appreciated. Thanks in advance!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

CGLDevel created an issue. See original summary.

Daniel.Moberly’s picture

Title: Cannot remove download options » Cannot remove download button from HTML5 player
Status: Active » Needs review
FileSize
1.63 KB

Attaching a patch and changing title to reflect issue better.

CGLDevel’s picture

Thank you for the effort @Daniel.Moberly...I tested w/ the following results:

/var/www/html/sites/all/modules/audiofield# patch < cannot_remove_download_options_html5-2937806-2.patch
patching file audiofield.players.inc
Hunk #1 FAILED at 60.
Hunk #2 FAILED at 119.
Hunk #3 FAILED at 151.
3 out of 3 hunks FAILED -- saving rejects to file audiofield.players.inc.rej

Daniel.Moberly’s picture

Are you patching against the dev version?

CGLDevel’s picture

I tried on both dev. and prod. sites (both are identical) - when they failed, I just rolled back. Thoughts?

Daniel.Moberly’s picture

I mean the dev version of the module - I think that's your issue.

Patch applies cleanly for me on a fresh download of the audiofield dev version

CGLDevel’s picture

AH!!! Yea, I was testing on AudioField Version: 7.x-1.2. After testing on version 7.x-1.x-dev, everything is working perfectly. Thank you very much for the time you spent on this, very much appreciated!

CGLDevel’s picture

Status: Needs review » Reviewed & tested by the community

  • Daniel.Moberly committed 5e3f26b on 7.x-1.x
    Issue #2937806 by Daniel.Moberly, CGLDevel: Cannot remove download...
Daniel.Moberly’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

marty.true’s picture

Just tried a fresh install of the dev version and the download still appears, with "Audio Player Only".

Daniel.Moberly’s picture

Just tested in latest dev with no issues. Can you update and verify?

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.