Hi all
I use this module on my website and i want to hide the link, protect it from download.
I manage to hide from the view but not from "html source".
Best regards.
ArchGallileu
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | soundmanager2-hidden_link_text_option-1082344-11.patch | 4.83 KB | zirafa |
| #9 | soundmanager2-hidden_link_text_option-1082344-9.patch | 4.98 KB | zirafa |
| #9 | Picture 11.png | 57.11 KB | zirafa |
| #4 | soundmanager2-1082344-3.patch | 13.14 KB | ldweeks |
Comments
Comment #1
Anonymous (not verified) commentedIs it possible to do something like
http://drupal.org/node/1046744#comment-4086032
on jplayer to hide the url?
Best Regards
ArchGalileu
Comment #2
damiandab commentedi have the same problem , I don't know how to protect the file from download, I can just click on the player on the audio title and then right click and download.
@ArchGalileu
how did you manage the url from the view? are your files protected from "right click and save file"?
best,
damian
Comment #3
Anonymous (not verified) commentedHi damiandab
I did't manage, in my case it's not so important
If arrange to do it say me please.
Best regards
ArchGalileu
www.gasparsantos.eu
www.quartetodouro.eu
www.cameratanovnorte.eu
Comment #4
ldweeks commentedI hope you don't mind me taking the liberty to change the version number and the issue name. I have created a patch against 7.x-2.x head to provide an option to hide the link to the file. On the display formatter for the field, you can now select "None" under the "Link Text" option.
Comment #5
ldweeks commentedComment #6
krabbe commentedI applied patch from #4 against 2.x-dev from Jan-1st-2013. I can change "Link text" to "none", but the link is still showing up.
It would be nice to have this feature working.
Comment #8
krabbe commentedI have to correct my last post. Switching from UI 360 to inline player made the link go away and switching back didn't bring it back.
Thank you, Idweeks!
Comment #9
zirafa commentedChanging the title to better reflect the task at hand. Hiding the link text is a separate issue from right-click + download.
The patch in #4 creates an empty
<a>element. This is bad for web semantics and screenreaders. A better approach is to just hide the element with CSS.Attached is a patch which adds an additional field formatter option for Link Text called "" which when selected, hides the element with CSS.
Comment #10
zirafa commentedAdditionally patch in #9 fixes a bug where URL_OPTIONS were not being set for some of the audio URLs.
Comment #11
zirafa commentedUpdated the patch from #9 to use text-indent:-9999px to hide the text instead of display:none (which broke inline-player and page-player).
Comment #12
omd commentedIt would be nice to have the option to alter or omit the link text on all players. I'd prefer to have the option to handle and style my download/title links separately from the player. Its just gives you more options for page layout. All the player really needs to do is have a play button. Title info and download links can all be added as needed to layouts using views.
Comment #13
Anonymous (not verified) commentedI will try this patch and see how it goes :-)
Best regards
ArchGalileu
Comment #14
jerry commentedPatch in #11 is working fine for me.