Hi!

In SWF Tools there are two options to display the filefield. One is to show the player and the other to show the player with a download link as well.
It would be great to have this option in Jplayer as well.

I know that there are posts in D7 to actually remove the direct link and the notion is to have this option exposed, however in D6 I can't seem to figure out how to actually show the link. Any suggestions?

Comments

charos’s picture

Ok, messing with the if statements in jplayer.tpl.php exposes the link for downloading.
I hope this option will be available in the (cck) display options someday!

digitalfrontiersmedia’s picture

I'm curious to see your solution to this. My D7 solution was to override the jplayer.js file that causes the playlist link to start playing the song and modify .htaccess to force download the link.

charos’s picture

I don't use playlist so what I did is replace line 46 of jplayer.tpl.php <li><?php print $item['class'] ? ' class="' . $item['class'] . '"' : '' ?>><a href="<?php print $item['url']; ?>" title="<?php print check_plain($item['label']); ?>"><?php print check_plain($item['label']); ?></a></li>

with <li><?php print check_plain($item['label']); ?></li>

Not sure though what you mean "to start playing the song" and how it's related to the link.

markie’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Sorry, we are no longer addressing 6.x issues.