Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
an7_audio
Textpattern tag for inserting a flash based audio player. Like my image plugin, this is also fairly simple. Give it an audio file, and it will insert the correct code (either embedded media or script).
<txp:an7_audio audio=“file.mp3” />
The real purpose, though, is to make podcasting through Feedburner much easier for me. The plugin prepends an html link that properly sets the file up for Feedburner, and acts as a download button in the page. Not much more to it!
You can read more on the site.
Last edited by iaian7 (2007-01-20 08:52:16)
VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios
Offline
#2 2007-01-30 15:31:52
- sbonzix
- New Member
- From: Bolzano-Bozen, Italy
- Registered: 2007-01-23
- Posts: 5
Re: an7_audio
Hi,
loved your plugin.
Just one thing: you wrote in the help file:
add onload="initLightbox()"
to your page’s html code
But that gives an error, as initLightbox() isn’t defined anywhere.
Am I missing something or is it just a typo?
Thanks
Offline
Re: an7_audio
ah, terribly sorry.
That’s a rather embarrassing typo, left over from my efforts to standardize help documents. The plugin was updated with the correct help file, but you may have gotten the first batch of files. It should read version 0.3.1. If not, you can update the plugin by installing again (be sure to save any customizations to the code in another document).
Thanks for letting me know! Were there any other issues when installing or setting up the plugin?
VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios
Offline
Re: an7_audio
an7_audio has been updated to version 0.3.5!
Fixes include the error in the help file (fixed in 0.3.1) and a fairly major error with the DIV container class. I think it’s all working pretty well now. Let me know of any problems or comments.
Read more and get the plugin at iaian7.com
Last edited by iaian7 (2007-02-25 06:08:33)
VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios
Offline
#5 2008-05-03 00:20:20
- rickram
- New Member
- Registered: 2008-05-02
- Posts: 1
Re: an7_audio
this might be a stupid problem, but i can’t get this player to work and i prefer it to jnm because of the volume control.
this is what i have done:
created audio folder in the root directory corresponding to “$audiodir=’/audio’;” in the plugin file
created js folder in the root directory corresponding to “$plugindir=’/js’;” in the plugin file
put audio download image in the images folder
“making sure to link the needed JS file in each page header (simply follow the installation instructions). —> i tried various ways to achieve this by editing the page template under the presentation tab, is this the wrong place?
can’t find any installation instructions at the jeroenwijering.com site for doing this.
when i use the script tag, the audio download image shows up with the correct link to the mp3, but then it says i need to download flash
when i use the embed tag, the audio download image shows, but nothing after that
i’m sure there is something i’m missing or doing wrong.
any help would be greatly appreciated,
thank you
Offline
Re: an7_audio
plugin still supported from author? i can’t load it…
<txp:txp_me />
Offline
Re: an7_audio
<h3 class=“entry-title”><txp:permlink><txp:title /></txp:permlink></h3> <p class=“published”><txp:posted /></p>
<div class=“entry-content”>
<script type=‘text/javascript’>
var s1 = new SWFObject(‘<txp:site_url/>js/player.swf’,‘player’,‘400’,‘300’,‘9’);
s1.addParam(‘allowfullscreen’,‘true’);
s1.addParam(‘allowscriptaccess’,‘always’);
s1.addParam(‘flashvars’,‘<txp:an7_audio audio=”<txp:site_url/>files/<txp:custom_field name=“mp3”/>” />’);
s1.write(‘preview’);
</script>
<txp:body />
</div>
this is right?
Last edited by Katalonian (2010-07-09 06:32:49)
<txp:txp_me />
Offline
Re: an7_audio
It’s been a long, long time since I’ve updated the audio player – the flash players have changed significantly since then (I no longer recommend JW, but NonverBlaster instead), and it’s more likely I’ll need to re-write things in a new plugin (an7_media). Until I have time to rewrite it from the ground up, it’s hard to say what’s going wrong!
What version of the MP3 player are you using? (one I’m using on my site is located here – http://iaian7.com/js/mp3player.swf)
Are you using script or embed?
Any errors showing up in the browser error log, or is the tag broken in TXP?
VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios
Offline
Re: an7_audio
i’m using 5.2.
script which i posted, it’s right?
when i’m posting, player don’t showing. no errors. just nothing.
<txp:txp_me />
Offline
Re: an7_audio
It doesn’t look like your script is correct, it should look like:
<txp:an7_audio audio="audiofile.mp3" width="250"/>
Make sure you haven’t changed anything in the plugin code, except for the path to your audio directory (you shouldn’t need to include the site location, as that’s handled automatically in the plugin).
VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios
Offline
Re: an7_audio
i find a “bug” ))
in your settings link to swf player named mp3player.swf, but in new versions player named player.swf )))
thanks, good plugin!)
Last edited by Katalonian (2010-07-09 19:00:17)
<txp:txp_me />
Offline
Re: an7_audio
Ah, glad you got it figured out!
Like I said before, I do have plans for consolidating some of my audio/video/movie/image tags into a unified an7_media plugin, but unfortunately that depends on free time…which I don’t have right now. Glad an7_audio is still proving useful. :D
VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios
Offline