Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#49 2007-02-28 12:24:11

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

Re: jnm_audio

You are right. This is only allowed in XHTML Transitional, but not in XHTML Strict.

I will remove the attribute in the next version.

Thanks :-)

Last edited by juanjonavarro (2007-02-28 12:25:34)

Offline

#50 2007-02-28 14:14:29

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: jnm_audio

Is there any way to just put the file ID in a custom field and have it play.

Thanks, Lee

Offline

#51 2007-02-28 15:18:30

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

Re: jnm_audio

Use this:

<txp:jnm_audio fileid="."><txp:custom_field name="custom1" /></txp:jnm_audio>

Offline

#52 2007-02-28 15:41:17

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: jnm_audio

Thank you very very much.

Offline

#53 2007-05-11 13:25:48

Prax
Member
From: Huntsville, AL
Registered: 2006-09-27
Posts: 24

Re: jnm_audio

Hm. I keep looking over the information and if it’s here I’m missing it.

How do I include information like band and song title in the plugin information? The flash player will display such if it is provided. I just can’t figure out how… and yes, I’m sure it’s all obvious, I’m drawing a blank at the moment though.

Offline

#54 2007-05-11 13:43:16

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

Re: jnm_audio

I suppose the plugin displays the information in the ID3 tags. Just include the information in the MP3 file.

Offline

#55 2007-06-11 22:16:34

slim
Member
From: California
Registered: 2006-11-14
Posts: 46

Re: jnm_audio

I have two files I am trying to play with this plugin, they work when I go straight to the URL so I know the files are ok. When I try to play them with the plugin, the loading bar quickly displays 100% loaded (basically snaps to full), and the player displays “Buffering…” indefinitely. What could I be doing wrong here?

Offline

#56 2007-06-12 07:48:21

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

Re: jnm_audio

Can you post the html generated by the plugin?

Offline

#57 2007-06-12 14:50:26

slim
Member
From: California
Registered: 2006-11-14
Posts: 46

Re: jnm_audio

Here it is.

<p>
<script src="http://survivors.la/blog/plugins/audio-player.js" type="text/javascript" language="JavaScript">
</script>
<object id="audioplayer1" width="290" height="24" data="http://survivors.la/blog/plugins/player.swf" type="application/x-shockwave-flash">
<param value="http://survivors.la/blog/plugins/player.swf" name="movie"/>
<param value="playerID=1&bg=0xf8f8f8&leftbg=0xeeeeee&lefticon=0x666666&rightbg=0xcccccc&rightbghover=0x999999&righticon=0x666666&righticonhover=0xffffff&text=0x666666&slider=0x666666&track=0xFFFFFF&border=0x666666&loader=0x9FFFB8&loop=no&autostart=no&soundFile=http://survivors.la/blog/audio/radioseg1" name="FlashVars"/>
<param value="high" name="quality"/>
<param value="false" name="menu"/>
<param value="transparent" name="wmode"/>
</object>
</p>

Offline

#58 2007-06-12 15:22:09

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

Re: jnm_audio

The soundFile for the flash player is http://survivors.la/blog/audio/radioseg1. I guess you missed the .mp3 part of the file.

Offline

#59 2007-06-12 18:18:31

slim
Member
From: California
Registered: 2006-11-14
Posts: 46

Re: jnm_audio

Ok, I took out the file suffix to see if it would work, thats how I had just the file name. I must have mistakenly put in .mpg instead of .mp3. Thanks for taking the time to look at it.

Offline

#60 2007-06-14 08:48:55

johnno
Member
Registered: 2007-06-14
Posts: 30

Re: jnm_audio

Great plugin…but a few problems. I’ve installed it on two Apache servers—one Mac OS X , the other Linux. On the Mac in Content > Write > ‘Advanced Options’ (Artist, Track Name, Mp3 url) appear as they should when the plugin is active; everything works beautifully. The trouble is that the options persist even when the plugin is inactive or completely removed. On the Linux installation Artist, Track Name, Mp3 url don’t even display to begin with. Any help would be appreciated.

Offline

Board footer

Powered by FluxBB