It would be nice to have a checkbox in FieldFormatter's settings form for "Display download link below player", and when it's enabled, a link with the file's name would be displayed as a link below the player.

Comments

Boobaa created an issue. See original summary.

boobaa’s picture

boobaa’s picture

Status: Active » Needs review
StatusFileSize
new2.33 KB

Attached is a working solution for this.

joshi.rohit100’s picture

Shouldn't link generator service be used here ?

boobaa’s picture

Rerolled the patch against 8.x-1.1. Why should the link generator service be used here?

  • Daniel.Moberly committed bb01c5f on 8.x-1.x
    Issue #2733723 by Daniel.Moberly, Boobaa: Optionally include download...
daniel.moberly’s picture

Status: Needs review » Fixed

Committed the patch with some significant changes to rendering to make it compatible as well as some changes to the general class structure to make the rendering simpler. Should be available in the next release. Thanks Boobaa for the patch.

Status: Fixed » Closed (fixed)

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