Closed (won't fix)
Project:
jPlayer
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2012 at 04:10 UTC
Updated:
18 Jun 2016 at 20:59 UTC
Jump to comment: Most recent
Comments
Comment #1
charos commentedOk, 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!
Comment #2
digitalfrontiersmediaI'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.
Comment #3
charos commentedI 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.
Comment #4
markie commentedSorry, we are no longer addressing 6.x issues.