You are not logged in.
<txp:jnm_audio /> inserts an mp3 audio player (flash) in your pages and articles.
Version: 0.3
History:
0.3
0.2
0.1
Last edited by juanjonavarro (2007-02-02 18:35:07)
HomePage – TextpatternMania (spanish)
Offline
A very nice plugin. Thanks.
Last edited by lee (2006-04-29 14:25:37)
Offline
Dude – this is perfect timing!! I was getting quite desperate for this and my deadline is today! You rock!!
Offline
It appears that you cannot use textpattern tags within this tag… ie…
[txp:jnm_audio fileid=”[txp:file_download_id /]”/]
Is it possible to change it so the variables can be txp tags? Is there any other way round? . . . Begining to panic!! ;)
Last edited by shearstock (2006-04-29 12:02:45)
Offline
I think you can write it like this instead. Correct me if I’m wrong.
< txp:php >
jnm_audio(array(‘fileid’=>file_download_id()));
< /txp:php >
Last edited by csandberg (2006-04-29 13:23:20)
Offline
csandberg wrote:
I think you can write it like this instead. Correct me if I’m wrong.
< txp:php >
jnm_audio(array(‘fileid’=>file_download_id()));
< /txp:php >
Hmmm, thanks csandberg. This replacement isn’t working correctly, it doesn’t seem to output any code. Sorry, I am really not a PHP coder (yet)! Any idea what could be wrong?
Offline
You need to specify a file_download_id number, I suppose. To do so you have to call the parameters, using file_download(array(‘id’=>‘XX’)), or something similar, inside the jnm_audio php call.
file_download_id isn’t the correct tag, because it should be used inside a form in a context of file download.
I don’t know if I catch the problem, only guessing…
Z-
Offline