Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#76 2006-03-29 11:45:59
- joel
- Member
- Registered: 2004-11-26
- Posts: 162
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
What´s is the best way of implementing this for easy maintenance for the client?
The ideal thing would be something like:
1. Client uploading an mp3
2. Associates it with a given file category
3. The mp3 is posted on the site
Is this possible?
Thanks!
Offline
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
What a wonderful and easy-to-use plug-in… Just one test and I’m already loving it…
Thank you so much, Bastian
Now, two questions:
1. Is there any chance to get the .fla file for the emff_standard player? I would like to edit it.
I have tried to download it from the CVS at Sourceforge, but I couldnt open the file.
2. nardo wrote:
Bitrates must be:
160,128,112,80,64,56,48,32,24,20,16,8
Flash will probably not play MP3 at birates other than these.
I have success playing 192kbps files… should I except something bad? or is it OK to play 192 kbps files?
—-
Finally, if anybody wants to have a transparent movie, add the following line after line 105
$out[]=' <param name="wmode" value="transparent" />';
many thanks again, Bastian
Offline
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
I have never paid attention to the bitrate. No problems from my side…
Offline
#79 2006-04-05 07:38:01
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
I haven’t tested bitrates exhaustively – and that info was cut & paste from a flash forum
but I did get some audio playing chipmunk-style when using this implementation of the flash player … by sticking to these options (I’m only working with lower quality sounds) I haven’t since had a problem
edit: maybe it’s the sample rates that were the cause of my problem … rather than the bit rates
Last edited by nardo (2006-04-05 07:39:23)
Offline
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
Hi Bastian,
a suggestion for future versions:
could be possible add a “wraptag” and “class” attribute?
many thanks.
Offline
#81 2006-04-09 14:27:19
- hedning
- Member
- Registered: 2006-03-20
- Posts: 12
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
Sorry, I have a problem with this. I can`t see the player? This is the sourcecode I get for my testarticle:
Artikel”>Tolle musik</a></h3>
<div class = “meta”> 9 April 2006 in </div>
<p>gibts hier: <object type=“application/x-shockwave-flash” data=“http://www.antonrohr.de/index.php?s=file_download&id=1?src=http://www.antonrohr.de/index.php?s=file_download&id=6” width=“110” height=“34”>
<param name=“movie” value=“http://www.antonrohr.de/index.php?s=file_download&id=1?src=http://www.antonrohr.de/index.php?s=file_download&id=6” />
<param name=“quality” value=“high” />
<param name=“bgcolor” value=”#ffffff” />
</object></p>
Offline
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
I used to be able to see my player – then mine also dissapeared one day. Somebody else had the same problem, though for the life of me I can’t figure out why. Everything source wise seems kosher.
“I was born to hustle roses down the avenues of the dead.” – Charles Bukowski
The Human Museum
Offline
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
Hi Bastian,
could you take a look at this post in the asy_jpache plug-in thread
I’m having a little trouble: big files are being added to my cache when I play them in bas_emff.
But I also find that big files are being cached also when clicking on a direct link.
So, I would say it’s not a bas_emff problem, but I would appreciate if you can take a look because Sencer told me to change a line in bas_emff but that didnt solve the problem.
Thanks in advance.
Offline
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
Another suggestion:
I’m using this plug-in, and also, I’m using upm_file_packets
They share the same custom field (mp3), with the difference that upm_file_packets supports multiple comma separated values.
upm_file_packets calls to a file form (with file related tags) to output a dowloadable mp3 file list according to the values in the custom field.
So, if there is one value, it will output just a one file mp3, and if there are multiples values it will output a list with multiples mp3 files.
My suggested idea is to make bas_emff compatible with upm_file_packets, so you can put the <txp:bas_emff /> inside the files form called for upm_file_packets and the result is a mp3 file list that also includes the flash player.
To clarify the idea, some code:
In the article form:
<txp:upm_article_file_list wraptag="ul" break="li" form="files" />
In the “files” form
<code><txp:file_download_link>
<txp:file_download_description /></txp:file_download_link><br /><small>[<txp:file_download_size format=“auto” decimals=“2” />]</small><br />
<txp:bas_emff /></code>
If there are multiples values in the “mp3” custom field, it will output something like this:
<ul><li>mp3 id1 link <br />
[bas_emff player that plays id1 file]</li>
<li>mp3 id4 link <br />
[bas_emff player that plays id4 file]</li>
<li>mp3 id6 link <br />
[bas_emff player that plays id6 file]</li>
</ul>
This feature should work by passing each file_id from upm_file_packets to bas_emff player, or maybe it can be “picked up” by bas_emff player from the “mp3” custom field
Of course, this method actually works if there is only one value in the “mp3” custom field.
I would love this feature, because I’m planning to have more than one mp3 per article: version 1, version 2, live version 1, live version 2, remix, etc.
And I would love to stream all of them with bas_emff player, but also have the download mp3 link near each player.
Bastian, does it make sense? do you think it is possible?
Another idea: maybe bas_emff could add supoort to multiple comma separated values, and also, support for forms. To clarify:
In the article form:
<txp:bas_emff wraptag="ul" break="li" form="files" />
In the “files” form
<code><txp:file_download_name />
<txp:bas_emff_player /></code>
But in this case, we will have 2 lists: one for the downloadable mp3 files (generated with upm_files_packets) and one with each bas_emff_player for streaming.
thanks in advance.
Offline
#85 2006-04-10 07:35:06
- hedning
- Member
- Registered: 2006-03-20
- Posts: 12
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
sorry my source code wasn`t shown in the post, have a look here: http://www.antonrohr.de/?s=Podcast I just can`t figure out why the player isn`t shown.
Offline
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
@maniqui: Your suggestions make sense.
I am working an my site for cssreboot an 1. May. After that i will have a closer look.
Perhaps the best way to manage your suggestions is usings forms for parsing bas_emff.
But i am not sure that there will be a next version of bas_emff:
To enable podcasting i wait for templated feeds in 4.1. and i will use jeroen’s player.
Depending an how fast txp 4.1 comes, i will work an bas_podcast instead an bas_emff.
Offline
#87 2006-04-10 12:48:28
- hedning
- Member
- Registered: 2006-03-20
- Posts: 12
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
Hi me again, my sourcecode shows file_download&id=1 instead of file_download/1 ??? How can I change that? What am I doing wrong? Does the plugin not work with unclean urls maybe?
Last edited by hedning (2006-04-10 12:53:54)
Offline
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
@Bastian, thanks for replying.
I will wait for that podcasting plug-in (i’m still dont know what exactly is a podcast, jjijiji).
I love bas_emff because of its simplicity!
Finally, is there any chance to have the .fla file for the emff_standard player?
I have looked for it but didnt find it.
thanks
Offline
#89 2006-04-10 23:12:32
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
maniqui, it’s the frequency not the bitrate that causes flash to double-speed stream the audio – I read that at loudblog forum
bastian’s link to the flash player – that looks great… good as a ‘radio’ player pulling in all the mp3 on a site… having a quick look, I think you could integrate that now… by having a unique section (e.g. “playlist”) that outputs a playlist wrapped in the correct xml (example included in zip dload)…
and also maniqui, if you customise the flash player (emff_standard) to something funkier, please release it to your txp brethrin!
Offline
Re: [plugin] [ORPHAN] bas_emff: Streaming mp3
nardo wrote:
and also maniqui, if you customise the flash player (emff_standard) to something funkier, please release it to your txp brethrin!
hi nardo!
jejejeje… I like the emff_standard skin, but I dont want those extra big paddings/margins it has!
I want to know if it can be reduced exactly to the size of the grey player.
And maybe, while I’m there, trying to change it, I tweak it to some tech.funky colors…
Offline