Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2005-11-18 21:39:52

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_emff: Streaming mp3

I’, still not finished with my site, but:

<object type="application/x-shockwave-flash" data="http://samisdat.org/files/emff_standard.swf?src=http://samisdat.org/files/bas_emff.mp3" width="110" height="34"><param name="movie" value="http://samisdat.org/files/emff_standard.swf?src=http://samisdat.org/files/bas_emff.mp3"><param name="quality" value="high"><param name="bgcolor" value="#ffffff"></object>

Here is the bas_emff.zip

0. Download anbd unpack the bas_emff.zip
1. Copy the content of bas_emff.txt
2. Open your txp admin interface
3. Paste the content of bas_emff.txt into the textarea under “admin” -> “plugins”
4. Activate bas_emff
5. Upload emff_standard.swf via txp build in file managment
6. Play music

In the .zip you find the standart-skin and some alternate skins, most of them are taken from loudblog.de

The readme.txt contains the width and height of these skins.

Last edited by Bastian (2005-12-15 22:19:05)

Offline

#26 2005-11-18 22:01:46

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [plugin] [ORPHAN] bas_emff: Streaming mp3

Man Bastian Thanks Sooooo much for this. How close will this get me in the direction of making enclosures for mov files? Have you had good luck with flowplayer?

Jamie

EDIT: This is really nice. So easy to get running. I have been working on a site that neede mp3 streams and this was perfect timing.

Last edited by soulship (2005-11-18 22:06:05)

Offline

#27 2005-11-18 22:24:11

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_emff: Streaming mp3

> soulship wrote
> Have you had good luck with flowplayer?

No, not with the flowplayer, but here is bas_flvplayer

Perhaps you want to try.
bas_emff and bas_flvplayer working the very same way and they are nearly the same plugin.

Only another .swf is running with bas_flwplayer:
<a href=“http://www.jeroenwijering.com/”>Jeroen Wijering´s flowplayer</a>

You will need an encoder for .flv
I use one from rivavx.com

Last edited by Bastian (2005-12-15 22:19:47)

Offline

#28 2005-11-19 10:32:25

jeeves
Member
Registered: 2004-06-14
Posts: 31

Re: [plugin] [ORPHAN] bas_emff: Streaming mp3

I think I noticed something in the instructions that might trip up some people. As per the current instructions, I dropped in a <code><bas:emff id=‘2’ /></code> into the page template, then sat there puzzling why it was not working. The answer turned out to be is that I was not calling the plug in correctly. Once I changed the tag to <strong><code><txp:bas_emff id=‘2’ /></code></strong> it worked great. I guess somehow txp:bas_emff got got switched for bas:emff in the instructions.

But, this is a great plugin, and I noticed it even works when the <code><txp:bas_emff /></code> tag is dropped into the body of a post! I’m running it now on a Textpattern 4.02 install.

Thank you for your great work Bastian.

Last edited by jeeves (2005-11-19 10:42:04)

Offline

#29 2005-11-19 17:15:03

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_emff: Streaming mp3

jeeves is right, i will fix this.

Offline

#30 2005-11-19 21:11:04

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

Re: [plugin] [ORPHAN] bas_emff: Streaming mp3

looks like the height and width of the flv have been hard wired in to the code so you can’t set them in the attributes. Brilliant plugin, you should give it it’s own thread.

Last edited by lee (2005-11-21 09:37:34)

Offline

#31 2005-11-21 09:36:16

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: [plugin] [ORPHAN] bas_emff: Streaming mp3

Thanx a lot… worth waiting for. Works right out of the box!

Offline

#32 2005-11-26 08:28:34

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Re: [plugin] [ORPHAN] bas_emff: Streaming mp3

Thank you for this plugin Bastian ! :-)

Just one little question :
You’ve choosen to upload the player via the txp file upload.
I think this is most a part of the site “engine” than a file that should be managed by the end user (and then appear in the file list with the risk to delete it by accident). Is it possible to put it at the top level of the site or anywhere else ? That could be set up in the extension tab (with a default skin, and default dimension it would be perfect ! ;-) )

Last edited by Niconemo (2005-11-27 13:51:53)


Nico

Offline

#33 2005-11-27 13:37:29

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Re: [plugin] [ORPHAN] bas_emff: Streaming mp3

The ending “/” are missing in the code to allow XHTML validation.

Correction :

<code> $out[]=’<object type=“application/x-shockwave-flash” data=”’.$basPlayer.’?src=’.$basAudio.$autostart.’” width=”’.$width.’” height=”’.$height.’”>’; $out[]=’ <param name=“movie” value=”’.$basPlayer.’?src=’.$basAudio.$autostart.’”/>’; $out[]=’ <param name=“quality” value=“high”/>’; $out[]=’ <param name=“bgcolor” value=”’.$bgcolor.’”/>’; $out[]=’</object>’; return join(n,$out);
</code>

If some are interested, I’m making altenate very basic but clean skins for emff to integrate easily in a text flow. I’ll post a link here soon.

Last edited by Niconemo (2005-11-27 13:39:33)


Nico

Offline

#34 2005-11-27 13:59:04

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

Re: [plugin] [ORPHAN] bas_emff: Streaming mp3

I’d be interested, I’ll watch out for the link.

Offline

#35 2005-12-01 22:57:17

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

Re: [plugin] [ORPHAN] bas_emff: Streaming mp3

Hey Niconemo, did you ever get round to the skins?

Offline

#36 2005-12-09 18:53:47

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_emff: Streaming mp3

I just finished to update to version 0.3.

Here you can see

Download

That´s new:

  • XHTML-Konform -> parameter-tags
  • Custom-Field Support: Name a custom field mp3 and store the file to play in this field instead using the *mp3*-attribute in plugin-tag.
  • Reduced the number of attributes.
  • player defines the flashplayer (and skin). This attribute accepts txp-id or txp-filename, if you want i use the textpattern filesystem. Or give player=‘path/to/file.mp3’ and the plugin don´t uses the buildin file system.
  • mp3 defines the file to play. Like player it´s your choice to use txp-filesystem or not.
  • Advanced install under extensions-tab there is a script, that writes some plugin prefs to txp-db. You can edit these one under advanced preferences. Change your player´s skin here saves some work, because you don´t have to define it in each plugin-tag
  • Help updated

Offline

Board footer

Powered by FluxBB