2006-04-29 08:06:28

juanjonavarro
Plugin Author
lambda
Real name: Juanjo Navarro
From: Valencia, Spain
Known languages: Español (Spanish), English
Website

jnm_audio

<txp:jnm_audio /> inserts an mp3 audio player (flash) in your pages and articles.

Info and download

Version: 0.3

History:

0.3

  • Eliminated some warnings in debug mode.
  • The plugin now generates valid xhtml code.

0.2

  • Added “special” value ‘.’ (evaluate body)

0.1

  • Initial release

Last edited by juanjonavarro (2007-02-02 18:35:07)


HomePageTextpatternMania (spanish)

Offline

 

2006-04-29 09:33:56

lee
Member
omicron
From: Normandy, France

Re: jnm_audio

A very nice plugin. Thanks.

Last edited by lee (2006-04-29 14:25:37)

Offline

 

2006-04-29 10:59:51

pieman
Member
lambda
Real name: Stuart Charlton
From: Bristol, UK
Known languages: Mackem
Website

Re: jnm_audio

looks good Juanjo!
I have a cheeky request – any chance we can access the .fla to restyle the buttons?

Offline

 

2006-04-29 11:23:05

shearstock
Member
beta
Real name: Benjamin Jackson
From: Dorset, UK
Website

Re: jnm_audio

Dude – this is perfect timing!! I was getting quite desperate for this and my deadline is today! You rock!!

Offline

 

2006-04-29 12:01:50

shearstock
Member
beta
Real name: Benjamin Jackson
From: Dorset, UK
Website

Re: jnm_audio

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

 

2006-04-29 13:21:47

csandberg
Plugin Author
gamma
Real name: Christian Sandberg
From: Sweden
Known languages: en, sv, de
Website

Re: jnm_audio

I think you can write it like this instead. Correct me if I’m wrong.

&lt; txp:php &gt;
jnm_audio(array(‘fileid’=>file_download_id()));
&lt; /txp:php &gt;

Last edited by csandberg (2006-04-29 13:23:20)

Offline

 

2006-04-29 13:23:17

ricetxp
Member
epsilon
Real name: Edward
From: London, UK
Known languages: English
Website

Re: jnm_audio

Got a client who’ll love this. Thanks very much.

Offline

 

2006-04-29 13:29:36

shearstock
Member
beta
Real name: Benjamin Jackson
From: Dorset, UK
Website

Re: jnm_audio

csandberg wrote:

I think you can write it like this instead. Correct me if I’m wrong.

&lt; txp:php &gt;
jnm_audio(array(‘fileid’=>file_download_id()));
&lt; /txp:php &gt;

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

 

2006-04-29 14:07:02

csandberg
Plugin Author
gamma
Real name: Christian Sandberg
From: Sweden
Known languages: en, sv, de
Website

Re: jnm_audio

Okay, try
echo jnm_audio(array(‘fileid’=>file_download_id()));
instead

Offline

 

2006-04-29 14:07:40

Zanza
Plugin Author
nu
Website

Re: jnm_audio

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

 

Powered by FluxBB