Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Plugin support
  3. » jnm_audio

#37 2006-11-07 06:36:39

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

Re: jnm_audio

Hmmm, the code: <txp:jnm_audio fileid=“5”> works fine on my site here


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

Offline

#38 2006-11-07 07:46:48

mercury
Member
Registered: 2006-05-12
Posts: 26

Re: jnm_audio

ok, then he should put url for test
maybe it’s just wrong fileid in his txp

Offline

#39 2006-11-07 08:40:15

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

Re: jnm_audio

bcotten wrote:

I’m having this problem as well. Anyone find a solution yet? Mine just sits in a “buffering……” state indefinately. This is a 5mb mp3 file. I’m using the following code: <txp:jnm_audio fileid="5">

If you see the generated html, the soundFile is empty. Maybe you are not closing the jnm_audio tag?

Offline

#40 2006-11-07 13:41:00

bcotten
Member
Registered: 2006-10-06
Posts: 12

Re: jnm_audio

Ok, so I did as mercury said and changed to the url tag instead of fileid and it worked like a charm.

Why is that? I checked the entry in the MySQL dbse and everything is correct. I can download and play the file from the Files section of textpattern. The end users of this site aren’t very tech savvy so for simplicity’s sake it would be nice to use the fileid tag instead of trying to explain to them how urls work…

Any ideas? Thanks for all the help so far.

-Ben

Offline

#41 2007-02-02 18:36:15

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

Re: jnm_audio

Updated to version 0.3.

Changes:

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

Offline

#42 2007-02-06 22:14:21

joel
Member
Registered: 2004-11-26
Posts: 162

Re: jnm_audio

Thanks for a great plugin!! Is it possible to change the width of the player without messing around with the source flash file?

Offline

#43 2007-02-07 12:52:08

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

Re: jnm_audio

I think is not possible. You can change the size of the <embed> tag in the plugin source code, but the player doesn’t auto-adapt to the available size.

Offline

#44 2007-02-09 23:15:54

joel
Member
Registered: 2004-11-26
Posts: 162

Re: jnm_audio

Aha… I see!

Another quick Question:

I insert this code in my article where I want the music to appear:

<txp:file_download form="files" id="19" /> <txp:file_download form="files" id="20" />

The form files

<div class="fil"> <h5><txp:file_download_description /></h5> <txp:jnm_audio fileid="."><txp:file_download_id /></txp:jnm_audio> <br /> <txp:file_download_link>[Ladda ned] </txp:file_download_link> </div>

File ID 19 gets displayed for every insert. The other ID’s doesn’t show at all. What am I doing wrong?

Thanks!

Offline

#45 2007-02-10 00:58:24

joel
Member
Registered: 2004-11-26
Posts: 162

Re: jnm_audio

Never mind… I found the answer my self after some serious googling… :)

Voilá!

Last edited by joel (2007-02-10 01:00:12)

Offline

#46 2007-02-19 00:38:25

Finkregh
New Member
Registered: 2007-02-18
Posts: 3

Re: jnm_audio

Hi,
is it possible to pass other customfields to the flashplayer?

field1=/path/to/x.mp3
field2=leftbgcolorhex
to something like that?

<txp:jnm_audio url="." leftbgcolor="0x<txp:custom_field name="field2"/>"><txp:custom_field name="field1" /></txp:jnm_audio> </txp:if_custom_field>

Thx, Finkregh

Last edited by Finkregh (2007-02-19 00:39:36)

Offline

#47 2007-02-19 10:13:09

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

Re: jnm_audio

Finkregh, you cannot use a textpattern tag as an attribute of another textpattern tag.

You can use this method instead.

Offline

#48 2007-02-27 18:53:18

tkn
Member
From: New York
Registered: 2004-06-29
Posts: 39
Website

Re: jnm_audio

I think that language=“Javascript” is now deprecated and does not conform to XHTML Strict. I just removed it from my code, but I think something to do in the next version (not really important at all.)

Offline

  1. Index
  2. » Plugin support
  3. » jnm_audio

Board footer

Powered by FluxBB