Displaying the mp3 url

Flying Drupalist - December 21, 2008 - 04:17
Project:jQuery Media
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

The mp3, if used with jquery media is made into a player, and the link disappears. I want my users to have the ability to hotlink to the file itself. Is there an easy way to enable that? That is, display the file link somewhere next to the player. Thanks.

#1

wretched sinner... - March 6, 2009 - 09:08

I would be interested in this also.

#2

Ajaros - March 18, 2009 - 16:22

it is possible by editing line 316 of jquery.media.js to look like this:

opts.flashvars = $.extend({}, { file: src },{ link: src }, opts.flashvars );

it works for me, but i don't really have any coding skills and usually manage to achieve results by reading code and randomly adding things... there is probably better solution. im content with this one.

 
 

Drupal is a registered trademark of Dries Buytaert.