2 afwas Feb 08, 2008 14:25

You can also put the url to your mp3 in the "post url" box ( or whatever it's called ) and select "podcast" as your post type ....... but it's nowhere near as cool as our plugin ;)
¥
I installed it. How do I use it?
With the AM plugins, the sourcecode is the manual. They should take notice of Wonder Winds pre- and aftersales.
<!-- amAudioPlayer song.mp3 -->
For the location of the song, see the plugin settings
Good luck
I got this:
Fatal error: Call to undefined method am_audio_player_plugin::the_plugin_url() in /home/nelsongu/public_html/plugins/am_audio_player_plugin/_am_audio_player.plugin.php on line 264
Hmmm, I'm sure I have a version that works in the 2.4 series, I'll try and dig it out for you ;)
¥
Thanks
Try this version [url=http://waffleson.co.uk/pastel-palace/call_plugin.php?plugin_ID=98&method=download&am_plug=am_audio]AM Audio Player[/url] and see if it works
¥
Fatal error: Call to undefined function: the_plugin_url() in /home/hemmi3/public_html/blog/plugins/am_audio_player_plugin/_am_audio_player.plugin.php on line 264
Ok, that's weird because the zip should have updated ..... meanders off to check :-S
¥
*edit*
This time the zip is updated ( it should show version 2.2 ) ;)
The player is there, but it keeps buffering.
Audiofile is in /media/blogs/media/
Got link? Yes I have: http://www.blog.hemminga.net/index.php?blog=9
--F
Afwas wrote:
Got link? Yes I have: http://www.blog.hemminga.net/index.php?blog=9
If only all users were so helpful :roll:
Ok, that should be fixed if you grab the zip again ;)
¥
Yippee, it works.
Well done ¥åßßå. It's a nice plugin.
--F
Thanks ;)
I guess it's long overdue a proper write up and adding to BOPIT huh? :P
¥
I did add it to the plugin lists we maintain ;)
If you fancy having a play with enclosures then download the zip again ( v 2.4 ) and then add the following to your feed skins ( you may have to hit "reload plugins" for this to work )
?>
<?php
// enclosure hack
$Plugins->trigger_event( 'FeedEnclosure', $Item );
?>
<comments><?php echo $Item->get_single_url( 'auto' ); ?>#comments</comments>
</item>
¥
cool:
RSS2 [url=http://www.blog.hemminga.net/index.php?blog=9&tempskin=_rss2]http://www.blog.hemminga.net/i...skin=_rss2[/url]
No show in Firefox (view as XML) but it works fully in my newsreader.
Stupid warning wrote:
Adobe Flash player has stopped a potentially unsafe operation
They even think about my eardrums!!
--F
*edit*
Atom works without patch. That's cool also.
http://www.blog.hemminga.net/B2evoforum/LifeareaStreamingAudio.png
This screenshot is from Lifearea feedreader. It has it's own build in player that works with the RSS2 feed as shown. The default player doesn't work with the Atom feed, but the AM Audio Player does show in the Atom feed without having to edit the file.
I really like it http://forums.b2evolution.net/images/smilies/icon_wink.gif
some blonde code wrote:
<b>Warning</b>: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to astonishme.co.uk:80 in <b>/home/hemmi3/public_html/blog/plugins/am_audio_player_plugin/_am_audio_player.plugin.php</b> on line <b>343</b><br />
<enclosure url="http://astonishme.co.uk/media/normaal-demo.mp3" length="" type="audio/mpeg"/>
Ooops, sorry, looks like I left some hard coded tests in there :roll:
Just delete line 301 :
$matches[1] = 'http://astonishme.co.uk/media/'.$matches[1];
zip updated ;)
¥
Ok
I'm still stuck with a "buffering" player using the latest updated version.
My .mp3 plays if I enter the url in the browser.
My path settings in the plugin are...
http://mysite.com/media/audio/
What I have in the post is
<!-- amAudioPlayer forharbs.mp3 -->
It's early down here so what have I missed?
Source code is...
<div class="bText">
<object type="application/x-shockwave-flash" data="/plugins/am_audio_player_plugin/player.swf" width="290" height="24" id="audioplayer1"><br /><br />
<param name="movie" value="/plugins/am_audio_player_plugin/player.swf" /><br />
<param name="FlashVars"
value="playerID=1&bg=0xeeeeee&leftbg=0xdddddd&lefticon=0x6666aa&rightbg=0xcccccc
&rightbghover=0x999999&righticon=0x444488&righticonhover=0xffffff&text=0x666666
&slider=0x6666ee&track=0xffffff&border=0x666666&loader=0xaaaaee
&soundFile=http://wow-factor.com/media/audio/forharbs.mp3" /><param name="quality" value="high" /><br />
<param name="menu" value="false" /><br />
<param name="wmode" value="transparent" /></object></div>
*edit*
Cut long line for readability
Afwas
Let's compare:
<object type="application/x-shockwave-flash" data="/plugins/am_audio_player_plugin/player.swf" id="audioplayer1" height="24" width="290"><br><br>
<param name="movie" value="/plugins/am_audio_player_plugin/player.swf"><br>
<param name="FlashVars"
value="playerID=1&bg=0xeeeeee&leftbg=0xdddddd&lefticon=0x6666aa&rightbg=0xcccccc
&rightbghover=0x999999&righticon=0x444488&righticonhover=0xffffff&text=0x666666
&slider=0x6666ee&track=0xffffff&border=0x666666&loader=0xaaaaee
&soundFile=http://www.blog.hemminga.net/media/normaal-demo.mp3"><param name="quality" value="high"><br>
<param name="menu" value="false"><br>
<param name="wmode" value="transparent"></object>
Afwas, apart from the enclosing div and the additional folder /audio, I see no difference!!!
John,
Do you have a link to a testpage?
I'll just make the post "public" so you can see it Afwas
http://wow-factor.com/index.php/test
also a link to url.... that plays fine
http://wow-factor.com/media/audio/forharbs.mp3
No show with your link on my blog either. It is supposed to work with external links. See http://www.blog.hemminga.net/index.php?blog=9
Try another mp3. Dunno.
It is supposed to work with external links
?? You have lost me there
According to the code I am able to play mp3 files from anywhere in the net. So I should be able to play your mp3 by doing:
<!-- amAudioPlayer http://wow-factor.com/media/audio/forharbs.mp3 -->
but that fails also on the buffering thing and not playing music.
That's why I think there may be something with the file not playing in this particular player.
My suggestion is try another file, or try to link to my file:
<!-- amAudioPlayer http://www.blog.hemminga.net/media/normaal-demo.mp3 -->
--F
Yep, that plays...!!!
I'll get another mp3 or swf and see what happens, though it is odd that it plays as a direct url in the browser?
Yep, I set up another .mp3 and it plays fine.
All comes down to an mp3 that the player doesn't like I guess
I'll delete the post and start over again
Thanks Afwas
Glad we sorted that out.
How come your tags are closed properly and mine are not?
How come your tags are closed properly and mine are not?
Mmmmm.... I don't understand. How are my "tags" any different to yours?
Your tags are closed with /> mine are > only.
This is from my index.main.php
<?php
// List all tags attached to this post:
$Item->tags( array(
'before' => '<div class="bSmallTags">'.T_('Tags').': ',
'after' => '</div>',
'separator' => ', ',
) );
?>
LOL
I mean the HTML tags in the code from the Music Player plugin :)
ooops... :)
your tags are closed with /> ?
<object type="application/x-shockwave-flash" data="/plugins/am_audio_player_plugin/player.swf" width="290" height="24" id="audioplayer1"><br /><br />
<param name="movie" value="/plugins/am_audio_player_plugin/player.swf" /><br />
<param name="FlashVars"
value="playerID=1&bg=0xeeeeee&leftbg=0xdddddd&lefticon=0x6666aa&rightbg=0xcccccc
&rightbghover=0x999999&righticon=0x444488&righticonhover=0xffffff&text=0x666666
&slider=0x6666ee&track=0xffffff&border=0x666666&loader=0xaaaaee
&soundFile=http://www.blog.hemminga.net/media/normaal-demo.mp3" /><param name="quality" value="high" /><br />
<param name="menu" value="false" /><br />
<param name="wmode" value="transparent" /></object>
Weird.
If I rightclick in firefox to do a "view source of selection" I get the code with <br> etc and if I do a complete page sourcecode it is <br />
A Linux virus http://www.blog.hemminga.net/B2evoforum/rasta.gif
Any how, this plugin is a nice bit of work and I got it to do what I wanted it to do with thanks to ¥åßßå and Afwas.
at the bottom of this post...
http://wow-factor.com/index.php/the-words-john-howard-couldn-t-say
Wonderful! Perfect!
I have a question. I'm writing something about B2evolution and would like your opinion. I like B2 better than Wordpress obviously, but I tend to recommend Wordpress to people because they'd have less tinkering to do. In other words, plug ins are more easily available, etc.
This plugin is a good example. What if you guys were on vacation or something?
Hi nelsonguirado,
You are in the Feature requests and Feedback section of the forum. What you are reading here has not much to dp with support, but with development. ¥åßßå only announced the plugin after we got it working. So I think this is still not a good example.
As for your concern with my holidays, thank you. I noticed last summer with the absence of EdB that a gap will automatically be filled with another bright star.
I am involved with B2evo because I fell in love with the code. The codebase is brilliant. But most will not be interested in that. They will look for skins (mainly) and plugins (only secundairy). And WP has the most and the best skins.
So answering that part, I do think B2evo tends to attract the pros as WP attracts the general user.
Good luck
(I may at one point cut this out of this topic and move it to the Chat section since it is interesting enough to attract a wider audience)
http://www.nelsonguirado.com/index.php/cubanocast/2008/02/14/title-1
Here's my first implementation of your plugin.
quick question: is there any way to adjust the volume in this player? i'm currently using xspf player slim, and it works perfectly... except that i keep getting error for <object> tags...
Quick answer: no, it's a very basic player although it does look rather modern.
Good luck
http://www.blog.hemminga.net/B2evoforum/AMMusicPlayer.png
Both 'closed' and while playing.
I tried to put the url to my mp3 in the "post url" box and selected "podcast" as your post type but nothing happened.
Has anybody got this to work?
Sometimes the song stays on "buffering" and doesn't play and other times it does play.
Have a look at the AM audio player: http://innervisions.org.uk/babbles/2006/10/playing_with_a_new_toy Direct download: http://waffleson.co.uk/pastel-palace/call_plugin.php?plugin_ID=98&method=download&am_plug=am_audio
Good luck