Recent Topics

[PLUGIN] Audio/Video player with RSS enclosure hack

Started by on May 10, 2006 – Contents updated: May 10, 2006

May 10, 2006 10:58    

What does it do:

It allows users to insert [url=http://www.alsacreations.fr/dewplayer]Dewplayer[/url] (for playing mp3) and Windows Media Player (for wmv, mpeg etc) in their posts. It is possible to use other audio/video players by changing the configuration file. By applying the RSS enclosure hack, it is also possible to make these media files detectable and dowloadable by podcasting/vodcasting catcher software.

How to install:

1. If you want to use Dewplayer, [url=http://www.alsacreations.fr/dewplayer]download[/url] and upload it to your server.

2. Download the attached zip file.

3. Change the "http://your/blog/dewplayer.swf" parts in _mediaplayer.conf.php to wherever you placed Dewplayer.

4. Place the files in these locations:
_mediaplayer.conf.php in plugins
_mediaplayer.renderer.php in plugins/renderer
_mediaplayer.toolbar.php in plugins/toolbar

5. Activate the plugin [url=http://b2evolution.net/man/2004/06/16/plugins_on_off_howto]as you normally would[/url].

Once installed and activated, a toolbar will be added to the editing area. Simply enter the media file URL in the "Audio/Video" text box and click "Add".

To use other audio/video players:

In _mediaplayer.conf.php, change the values of audio_player_html and video_player_html to the HTML code for displaying your choice of player. Use _FILE_ as the placeholder for the media file location.

To enable RSS enclosure:

Backup your xmlsrv/rss2.php and replace it with the rss2.php in the attached zip file.

This RSS hack is largely based on the excellent work of [url=http://forums.b2evolution.net/viewtopic.php?t=2542]turbo2ltr[/url], but it does not require CURL.

This plugin is developed and tested on v0.9.0.11.

Enjoy! Comments welcomed.

See [url=http://forums.b2evolution.net/viewtopic.php?p=42812#42812]here [/url]for v1.8 plugin

Jun 21, 2006 01:38

just for reference, here's [url=http://babelfish.altavista.com/babelfish/trurl_pagecontent?lp=fr_en&url=http%3A%2F%2Fwww.alsacreations.fr%2Fdewplayer]the dewplayer page bablefished to english[/url].

now, i've got dew player working, and the plugin seems to work, but the rss2.php replacement fails to render a feed. instead, i get this error:

404 Not Found 
b2evolution cannot resolve the requested URL.

i'm using b2evo v 0.9.1

any suggestions? need any more info? thanks for helping people podcast with b2evolution, dewplayer, this mediaplayer, and the fact that you can easily upload to b2evolution makes a great combo.

as soon as i have this rss biznetz worked out :>

edit: i'm accessing this url to get the error: http://mp3death.us/a2g/xmlsrv/rss2.php?blog=2

edit2: i added this line to the 4ss2.php included in mediaplayer.zip


	/**
	 * Initialize everything:
	 */
$resolve_extra_path = false;	// We don't want extra path resolution on this page

then the rss2.php worked and i at least see an enclosure in there. haven't tried hitting the url as a podcast yet B)

Jun 21, 2006 06:15

I guess the $resolve_extra_path is something new in v0.9.1. Thanks for making it work on v0.9.1! (I should have upgraded my b2evo but I guess I'll wait a little while longer for the final Phoenix release)

Aug 10, 2006 01:36

Is this also a valid option for version v1.8?

Aug 10, 2006 04:27

It does not work for v1.8 yet. I have only recently started to upgrade my b2evo to v1.8, and it is my plan to make this a 1.8 plugin.

Aug 26, 2006 18:03

hello,

have you done it? I need that plugin asap. If you need help, give me feedback.

Mikih

Aug 27, 2006 12:08

Here you go, the 1.8 plugin.

Some slight variations to its usage:

1. After you installed the plugin, you would have to go to the plugin admin page to tell it what file extensions to handle and how to render. This information was hard coded in the previous version. With this version, you can add/change the types of players easily without hacking the code.

If you want to use Dewplayer and Windows Media Player as in the previous version, enter these values for the plugin setting:

File types:
.mp3

HTML:

<object type="application/x-shockwave-flash" data="http://www.yoururl.com/blogs/dewplayer.swf?mp3=_FILE_" width="200" height="20"><param name="movie" value="http://www.yoururl.com/blogs/dewplayer.swf?mp3=_FILE_" /></object>


File types:
.wmv .mpg .mpeg

HTML:

<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="_FILE_" width=360 height=300 name="MediaPlayer" autostart="0" ShowStatusBar=1 ShowControls=1 ></embed>

2. To enable RSS enclosure, you can replace the main.php in the "skins/_rss2" folder with the one in the zip file, or you can place the entire "_rss2_mplayer" folder in "skins". If you choose to do the latter, you would have to hack your skin to make the RSS2 link look like so:

http://www.yoururl.com/blogs/yourblog.php?tempskin=_rss2_mplayer

I have not tested this thoroughly yet. If you find any problem please let me know.

Thanks.

v1.8.1 updated on Nov 3, 2006: Minor bug fix to resolve "merge_array" problem on some PHP version.

Aug 27, 2006 15:27

hello,

thank you very much! that is really great. I`m new in the b2core api but i will try to extend it like die file manager so that you can choice between image tag or media tag.

Thanks Mikih

Aug 30, 2006 02:10

yes, I like this also, I like the fact that hides the files.

So, Is there any way to even better hide the location of the files?

or maybe a bit off topic but, is it possible to not alow direct access to the media folder...yet still use the player?

Oct 17, 2006 19:19

For QT movies use:

<embed src="_FILE_" Pluginspage="http://www.apple.com/quicktime/" width="317" height="258" CONTROLLER=true LOOP=false AUTOPLAY=false name="slideshow"></embed>

Oct 20, 2006 05:01

I use this to embed Flash:

<OBJECT classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="100%" HEIGHT="300" ALIGN="">
<PARAM NAME=movie VALUE="_FILE_"><PARAM NAME=name VALUE=false><PARAM NAME=quality VALUE=high><PARAM NAME=scale VALUE=noscale><PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="_FILE_" menu=false quality=high scale=noscale bgcolor=#FFFFFF  WIDTH="100%" HEIGHT="300" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>

You might need to modify the width, height and bgcolor.

Oct 21, 2006 19:49

I just upgraded to 1.8.2 and decided to try this plugin out.

I'm having some issues though.. the plugin inserts a comment into my blog entry, but when I publish the entry, the comment just stays a comment. It is not rendered as the html I entered in the settings panel.

I'm not sure what I'm missing.

Oct 22, 2006 07:30

Hi rcxAsh,

Have you checked whether the "Apply rendering" setting in "App Settings, Plugins" is set to "always"?

I am running it on 1.8.1 and have not upgraded to 1.8.2 yet. If this is a common issue for 1.8.2 I will have to fix it later.

Oct 22, 2006 07:50

Thanks, C.R.T., that seemed to do the trick!

This is a really neat plugin! :)

Oct 24, 2006 11:14

Hi

I'm running 1.8.2 with the MediaPlayer installed as above and everthing looks fine, I go to the Post tab and above then content I see the
Audio/Video: Add

But when I click on add nothing happens and the javascript console in firefox tells me
mplayer_add is not defined

any ideas whats going on ???

thx werner

Oct 25, 2006 07:43

Hi werner,

Most probably you have not defined a media file type yet. You have to do that in "App Settings, Plugins" then select the Media Player plugin. Please read the previous messages for detailed instructions on what to do.

Nov 02, 2006 11:07

Hi

sadly thats not the problem. I uploaded the dewplayer and added the filetypes:

.mp3

<object type="application/x-shockwave-flash" data="http://http://blogs.netdays.at/0607/dewplayer.swf?mp3=_FILE_" width="200" height="20"><param name="movie" value="http://http://blogs.netdays.at/0607/dewplayer.swf?mp3=_FILE_" /></object>

no clue whats going on

thx werner

Nov 03, 2006 14:46

Thanks werner for pointing out the problem. I have updated the plugin. If anyone was having problem using the plugin, please try this version.

Nov 04, 2006 15:12

C.R.T. wrote:

please try this version.

C.R.T., what version? I can't find the link.

Nov 05, 2006 13:52

Hi Rubba, just download mediaplayer_plugin1.8.1.zip from the first page. I replaced the old file with the new file.

Nov 07, 2006 22:55

This plugins is very good !

One question (probably stupid...) :

Is it possible to put different codes to read mp3, mpg...

I mean put in html section :
<object type="application/x-shockwave-flash" data="http://www.yoururl.com/blogs/dewplayer.swf?mp3=_FILE_" width="200" height="20"><param name="movie" value="http://www.yoururl.com/blogs/dewplayer.swf?mp3=_FILE_" /></object>
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="_FILE_" width=360 height=300 name="MediaPlayer" autostart="0" ShowStatusBar=1 ShowControls=1 ></embed>

I try it, but have 2 differents readers

Nov 08, 2006 14:17

Hi pppplus, if you are using the 1.8.1 plugin version, you can define more than one file types and their corresponding HTML. You can do this from the plugin settings page. I hope this answered your question.

Nov 08, 2006 20:43

Thanks C.R.T., it works great now!

Nov 09, 2006 09:42

Thanks CRT,

I put the new 1.8.1 on my computer and forget to put it on server, so I see no difference with the previous version.

After you message I verify and find the old version. So now, all is perfect !

Thanks and very good !! :p

Nov 10, 2006 13:17

And to read an .avi file, what do you use ?

Thanks !

Nov 17, 2006 19:44

Hello,

I have a real problem with this plugin.

I have uploaded it to the plugin directory many times...but this plugin never appear on the plugin list .
I 'am on the 1.8.2 sable .

Am i the only one with this issue ??

Thanx for your answer and for your work.

Philippe

Nov 17, 2006 20:09

Stupid question, but do you send the plugin to your server in plugins directory ? :roll:

Nov 17, 2006 20:10

pppplus wrote:

And to read an .avi file, what do you use ?

Thanks !

Up !!

Does someone has an answer to view avi files (divx) ?
Thanks ! :p

Nov 19, 2006 06:13

Hi Philippe, after you uploaded the plugin, did you click "Display available plugins" at the bottom of the plugin setting page? You would have to click on that and install the plugin from there for it to work. If this is not the problem, then I will have to check on it later as I am still running on v1.8 and won't be upgrading soon.

Hi pppplus, I believe you can use Windows Media Player to play avi files. Just append .avi as a file type: .wmv .mpg .mpeg .avi

Nov 25, 2006 05:46

Is there a way to autoplay?

Edgar.

Nov 26, 2006 05:55

Hi Edgar, in the plugins settings, you can add the autoplay parameter in the HTML for each player, but that will be applied across the board. i.e., all players in all articles will autoplay.

To make Dewplayer autoplay, you can do this:

<object type="application/x-shockwave-flash" data="http://www.yoururl.com/blogs/dewplayer.swf?mp3=_FILE_&autoplay=1" width="200" height="20"><param name="movie" value="http://www.yoururl.com/blogs/dewplayer.swf?mp3=_FILE_&autoplay=1" /></object>

For Windows Media Player, use this:

<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="_FILE_" width=360 height=300 name="MediaPlayer" autostart=1 ShowStatusBar=1 ShowControls=1 ></embed>

Dec 02, 2006 05:14

I use the following code to embed some SWF content, and my problem is that - when i visit the blog entry - the flash downloads and starts playing automatically. Since I didn't write the swf file, I am not sure if that is control there, or if there's a setting to control it in the code.

btw, I know for my MP3s I have to click on Play before it starts playing and that's what I would like to see happen here... possible?

<OBJECT classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="100%" HEIGHT="300" ALIGN="">
<PARAM NAME=movie VALUE="_FILE_"><PARAM NAME=name VALUE=false><PARAM NAME=quality VALUE=high><PARAM NAME=scale VALUE=noscale><PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="_FILE_" menu=true quality=high scale=noscale bgcolor=#FFFFFF  WIDTH="100%" HEIGHT="300" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>

Edgar

Dec 11, 2006 18:32

Hi Edgar, I don't think the flash player has the option to switch autoplay on or off... The autoplay control usually lies within the swf content itself, if it is not programmed with it, I doubt you can do anything about it.

An alternative way I can think of is to use javascript to show and hide the flash player. But I don't have any working solution for that.

Jan 07, 2007 05:00

Update. I downloaded and installed the 1.8 version successfully but when I got to add an mp3 from the posting page I get- "Valid file types are ." Help?

Jan 07, 2007 16:29

You probably want this setting:
Go to back office -> App Settings -> File Types. There, add mp3 as new file type.
Probably you also want to change the maximum file size in backoffice -> App Settings -> Files -> Maximum allowed file size

Jan 07, 2007 17:59

This helped a lot. Thanks. I'm almost there but still can't quite get it to work. I added the file type and the appropriate HTML, uploaded the dewplayer and set my render to "always" but now only getting a white box- no player. Here's a link if anyone can help I'd apprciate it- http://www.rocktownhall.com/blogs

Jan 08, 2007 23:57

It has someting to with trying to use the DewPlayer. When I put in the settings for QT, it works like a charm... which if fine for now. Would love to use an swf though.

Jan 09, 2007 03:49

Hi sammymaudlin, there seems to be a problem with your website processing this URL:

http://www.rocktownhall.com/blogs/dewplayer.swf?mp3=http://www.rocktownhall.com/blogs/only.mp3

It gives the following message: Not Acceptable. An appropriate representation of the requested resource /blogs/dewplayer.swf could not be found on this server.

However, do this and it is fine:

http://www.rocktownhall.com/blogs/dewplayer.swf?mp3=only.mp3

It may be your web server having problem interpreting the link when being passed a full URL as parameter.

Jan 22, 2007 23:50

i dont seem to have a plugin/renderer or plugin/toolbar folder in my install.

1.91 beta btw.

i'd be really interested in this plugin - any help ?

Mar 22, 2007 13:50

Ok, this is driving me nuts!

-I'm running bevo 1.9.3
-uploaded dewplayer
-uploaded the files to the plugin dir
-updated the mplayer config
-added the .mp3 file in the mediaplayer backoffice

whenever I enter a mp3 url in the toolbar and click the 'ad' button..nothing happens! no error, just nothing. Is there anyone willing to help me out?

Mar 22, 2007 13:52

My host doesn't allow mp3's. Does your's?

Mar 22, 2007 14:07

yeah , I'm on dreamhost and they don't seem to care. I'm running a punbb forum on the same host (different domain though) and have have succesfully installed and used the dewplayer plugin there so that shouldn't be the problem I guess.

Thanks for the reply though!

Mar 22, 2007 14:33

update : IE gives me a javascript error :

can't move focus to the controll because it is invisible, not enabled or of a type that doesn't accept focus

uhm WHAT?

;)

Apr 10, 2007 23:43

Not sure how much I can help...

But recently, I noticed that the plugin Add button stopped working as well. It seemed to be when I upgraded to b2evo 1.9.2 (or potentially when I upgraded my PHP installation). It would throw a JavaScript error, "mplayer_add is not defined"

Not sure what was wrong... but I grabbed the later version of C.R.T's plugin (there was an update he made in Nov 2006). After replacing the old plugin file with the slightly updated one (added something about $all_ext = array(); )

It started to work again. So.. not sure what fixed it for me. But if you happen to be using the version prior to the Nov 2006 update, perhaps try to get that newer version to try..?

Apr 13, 2007 17:45

I have trouble with Mediaplayer plugin

- Downloaded dewplayer-multi.swf and uploaded to my host
- Downloaded mediaplayer, unzip and uploaded to plugins folder (created 2 new folders named: toolbar and renderer)
- updated _mediaplayer.conf.php

I can not see the Mediaplayer plugin in Back office->app Settings->Plugins->Available plugins list

My b2evolution is 1.9.3 version.

Would you pls help me?

Thank you in advanced.

Best regards,

Apr 13, 2007 17:52

tetoteti wrote:

I have trouble with Mediaplayer plugin

- Downloaded dewplayer-multi.swf and uploaded to my host
- Downloaded mediaplayer, unzip and uploaded to plugins folder (created 2 new folders named: toolbar and renderer)
- updated _mediaplayer.conf.php

I can not see the Mediaplayer plugin in Back office->app Settings->Plugins->Available plugins list

My b2evolution is 1.9.3 version.

Would you pls help me?

Thank you in advanced.

Best regards,

Did you download the plugin from the first post in this thread? That one is for the older 0.9.x versions of b2evo. There is a post further down:
http://forums.b2evolution.net/viewtopic.php?p=42812#42812
where C.R.T. posted an updated version for the 1.8.x version of b2evo, which does work on 1.9 as well.

Apr 20, 2007 20:00

Thanks rcxAsh for helping to answer all those questions!

Hi tetoteti, from your description, it does seem that you are using the old version. Please try the latest version which is 1.8.1.

Apr 21, 2007 00:42

Do you mean the query string w/ the S and the character limit?

i tried it but I couldn't get the "See More" button to appear at the end of the text so I removed it. It kept showing up at the top of the blog text.

I am using Google Search for my site but sometimes it doesn't find everything.

http://www.thechristianalert.org/blog/index.php?s=augustine

Check it out.

Apr 24, 2007 11:46

Hello everyone,
I can't find why I can't read mp3 files with dewplayer.
- I uploaded dewplayer in http://me.com/blog/dewplayer.swf
- I added the code for the file extensions : <object type="application/x-shockwave-flash" data="http://www.me.com/blog/dewplayer.swf?mp3=_FILE_" width="200" height="20"><param name="movie" value="http://www.me.com/blog/dewplayer.swf?mp3=_FILE_" /></object>
- My concerned blog is blog a then my media files is media/blogs/a/
- The plugin (mediaplayer 1.8) is activated and I see the "Audio/Video ADD" menu in the article backoffice.
- It's ok to upload a file.
- When I go on the blog, I can only see the dewplayer displayed but it seams "empty". When I clic on play, nothing happens...
Might it be related to the file directory ? Don't really understand what means "mp3=_FILE_" in the code ?
Anyone ?
Thx in advance :)
R1

Apr 28, 2007 22:36

Hi all. My problem is pretty much the same as ErwanMFT.

I'm running b2evolution 1.9.3 and have just installed the MediaPlayer Plugin with everthing seems fine. On the Write tab I can see the "Audio/Video: Add".

BUT, when I click on add .... nothing happens!!!

Any help would be really appreciated.

Thanks. B)

Apr 29, 2007 08:52

This is a great plugin but I have one slight problem. I've set mp3's to play in the Dewplayer (flash gizmo) which is fine in Internet Expolrer but doesn't show up in Firefox (windows Medias Player DOES) I have installed Flash plugin for firefox. I appreciate I can tell audio files to play in another player or even both Dewpalyer and another one but when it works in IE it looks cool. Anone any ideas?

I'm using it here http://www.tvcr.org.uk but I'd like to splash it all over if I can get this ironed out

Apr 29, 2007 10:02

sorry another question hot on the last one.

I've followed the instructions to hack the skin to point to the rss2_mplayer but I'm not sure what to do next. How would I offer a "Podcast" feed to site visitors. I want to make it as easy as possible for visitors. I thought feedburner might be the answer but I got the following error.

The feed address you entered includes an invalid leading or trailing character in the hostname. FeedBurner cannot resolve an address with leading or trailing punctuation. Try providing your feed's unique IP address to avoid this problem

The feed URL you entered is:

http://www.tvcm.co.uk./blogradio/index.php?tempskin=_rss2_mplayer

We could not find a valid feed at that address. Here are some possible reasons this might have happened:

Is the feed valid? Confirm its validity now.

If you're using Blogger, Feed Validator may call your feed "obsolete" and generate a bunch of errors. This is because Blogger is using an older feed standard (Atom 0.3) and isn't a reason for concern. Learn more in the FeedBurner forums.

Jul 07, 2007 01:43

Hey all,

I'm trying to download this plugin, but I keep getting errors saying that it can't connect to the FTP server (the file I get ends up being an HTML error page). Does anyone know what's going on, or does anyone have this file on another server that I can get it from?

Thanks,
Phil

-- Edit: Never mind, it started working again Mon. morning.

Sep 04, 2007 09:22

I have installed the plugin, and have configured the settings correctly. all seems well, but the post does not play. The player displays, but does not find nor play the song.

To troubleshoot, I "viewed source" of the page, and copied the generated code and saved to an HTML file, which plays it fine.

[url=http://dreed07.com/]Blog Location[/url]

[url=http://dreed07.com/media/audio/test1.html]Working Standalone HTML Page[/url]

Any help would be appreciated. Cheers.

BTW: B2 Evo Version 1.10.2 and a user of the software since it was born. Just too illiterate to contribute anything of value....

Sep 04, 2007 18:54

Thanks for the post. Thought I had tried that, guess I had tried absolute referencing.

Working now.

Sep 18, 2007 23:17

Has the link to the zip file been removed? I don't seem to see the link.

Oct 11, 2007 11:31

hi marhine,
it seems that this plugin has been deleted :(
As you can see in [url=http://66.102.9.104/search?q=cache:yDv359-U27oJ:forums.b2evolution.net/viewtopic.php%3Fprintertopic%3D1%26t%3D7825%26start%3D0%26postdays%3D0%26postorder%3Dasc%26vote%3Dviewresult%26sid%3Deca03760a5020da7403f1f706b5399e9+Dewplayer+b2evolution+zip&hl=es&ct=clnk&cd=1&gl=es&client=firefox-a]Google's cache[/url], there was a download link, but doesn't work anymore.
We'll have to find another way to include movies in our blog.
cheers.

Nov 23, 2007 13:53

Please - i can not find the attached file. Where can I download this plugin?

thx!

Nov 23, 2007 14:33

joolander wrote:

Please - i can not find the attached file. Where can I download this plugin?

thx!

The Video plugin is already available with your isnstall. Goto backoffice -> Global Settings -> Plugins -> Install new.

Good luck

Nov 24, 2007 17:47

Hi,

Same problem as joolander.. I can't find the plugin.
Afwas, it's not available in my backoffice.
I'm using b2evo v 1.9.3.

Thanks for any help!
Cheers,
O.

Nov 24, 2007 18:08

webolov.com wrote:

Hi,

Same problem as joolander.. I can't find the plugin.
Afwas, it's not available in my backoffice.
I'm using b2evo v 1.9.3.

Thanks for any help!
Cheers,
O.

You should upgrade to 1.10.3

Good luck

Jan 31, 2008 01:07

I downloaded this plugin with great pleasure. It works a treat in 2.4.0! Cheers ¥.

I did have to delve into the code to find out how to use it (¥åßßå, some day you're gonna have to stick some clues on that help page of yours with the trailing slash) but here's what I found worked:

You need to change a few things in your blog global settings. For a start, you'll probably want to increase your upload limit if you're uploading your mp3s with the built-in media manager - 96kb is a pretty puny mp3. I upped mine to 2048kb.

Then you'll need to teach b2evo about mp3 files. Go Global settings > File types > New file type and enter the appropriate details. MIME type is audio/mpeg. Forget the icon unless you really want to be bothered, and leave the browser to handle it.

Then, the magic begins. Assuming you've installed the new plugin and spent ages gawping at the huge number of configurable display options, which are self-explanatory, you'll need to include the following code in your post where you want the player to appear:

<!-- amAudioPlayer http://FullPathToYourFile/file.mp3 -->

I couldn't make it work with an abbreviated path, so I'm not sure if a full path is always necessary - apparently in the original 1 Pixel Out plugin it wasn't so probably I've just not worked that one out yet.

Good luck!

Jan 31, 2008 01:20

filthio wrote:

(¥åßßå, some day you're gonna have to stick some clues on that help page of yours with the trailing slash)

Is the one without a trailing slash ( [url=http://innervisions.org.uk/babbles/2006/10/playing_with_a_new_toy]http://innervisions.org.uk/babbles/2006/10/playing_with_a_new_toy[/url] ) more informative? :roll:

I believe 2.4 now has a "podcast" ability, but it spits out loads of invalid code ... guess I need to go sweep that one up. I really don't know if the rss feeds have enclosures yet, although I know it's on the menu ... *adds to "to check" list*

Although my plugin got dragged into this thread it's not the one that the thread was originally about, it was just summat I was toying with .... it does have shedloads of settings though ;)

btw. the urls are either relative to your skin or the plugins folder, I think ;)

¥

Jan 31, 2008 10:00

Thanks, ¥, I'll try that relative URL thing. You might want to amend the trailing slash thing in the source file of the plugin, too. I guess I could have started a new thread to be polite but every relevant search is going to bring an enquirer to this thread - I know coz i tried them.

I was interested in using the shiny new podcast thingy on 2.4 but I couldn't find any guidance, nor work it out by fiddling, and your plugin seems to do everything I want anyway (I'm not bothered about RSS directly). It also looks quite spiffy on the page, so cheers for that.

If you have any ideas about where to find out about the native podcast function, do say.

Jan 31, 2008 11:47

Remind me to send you a copy of the relative links plugin that works with 2.4 ;)

I did have a hack to resolve the trailing slash links, guess I need to re-apply it :P

The native podcast function appears to work like this :

1) Select "podcast" as your post type
2) enter the full url of your mp3 in the "link to url" field
3) press save

¥

Feb 06, 2008 02:54

I just upgraded to 2.4, and can't get this mediaplayer to work. I'm trying to have an audio fragment below a post.

I have told it that we're using .mp3 files.

I have inserted the HTML as follows:

<object type="application/x-shockwave-flash" data="http://www.ornstein.org/dewplayer.swf?mp3=_FILE_" width="200" height="20"><param name="movie" value="http://www.ornstein.org/dewplayer.swf?mp3=_FILE_" /></object>

I've set "apply rendering to "always".

What's wrong?

Feb 06, 2008 20:13

Do you mean that you are attempting to enter that code in a post? If so, you don't need to: the plugin will render all the surrounding code for you.
If you mean you are trying to enter the code into a skin so the same clip appears after every post, that's a different thing - this answer won't apply to you.

Assuming your plugin is installed correctly, you only need enter the following code into your post edit box, where you want the mp3 player to occur - in your case at the very end of the post, I guess.

<!-- amAudioPlayer http://FullPathToYourFile/file.mp3 -->

If you have uploaded your file properly, replace 'FullPathToYourFile/file.mp3' with the full path to your mp3 file and its name.

If you want to test the plugin to see if it works, just enter some code that will refer to a mp3 you know exists, like this example:

<!-- amAudioPlayer http://www.pacdv.com/sounds/miscellaneous_sounds/paper_crumbling_1.mp3 -->


If this works for you, then the plugin is working correctly.

Feb 29, 2008 22:36

Does anybody have a problem with the music playing too fast?

Feb 29, 2008 22:55

That's more likely because of the encoding of your mp3 file. They are not all the same. Easiest solution is to try encoding the file at a different rate - if you're clever you can work it out, but I just try a few different ones until it sounds right. Use Audacity for a good free audio program that does all sorts of clever stuff.

Mar 01, 2008 05:46

It varies with browser. On some computers, it plays fine and on others, it's too fast.

Mar 01, 2008 11:11

Well that's interesting. I've never encountered that. I'd still suspect the symptom is caused by the MP3 file itself and not entirely the player. Does this problem occur with all MP3 files regardless of source, and is the speed difference always the same?

Mar 02, 2008 01:23

how can you specify a bunch of MP3 files (say folder/*.MP3) at once instead of one by one ?

Mar 04, 2008 17:44

Im going to sound very nubby posting this but i cant for the life of me find the download for this plugin, can someone point me to it

Mar 06, 2008 12:59

protoaddict wrote:

Im going to sound very nubby posting this but i cant for the life of me find the download for this plugin, can someone point me to it

yea me either, a direct link would be helpful I think. saying it's attached means nothing to me

Aug 12, 2008 15:46

How do you use the Video plugin to place videos in your posts that aren't on YouTube or another video service? I don't want to use those, I simply want to put a flash video into my posts, and it looked like this plugin would have allowed me to do it, but I don't see how to make the Video plugin do this. There's no documentation I've been able to find.

Aug 23, 2008 00:33

Don't feel bad - I can't find the download link either - I even tried chanting the usual magical mumbo jumbo but the only thing that happened was that my pants caught fire again..

anyone have the link to this?

whats more if you do can you tell me if this works with the latest B2Evo?

Oct 09, 2008 09:11

Yes could someone please provide a download link for this plugin!! I don't feel like re-inventing the wheel today.


Form is loading...

CMS + forums – This forum is powered by b2evolution CMS, a complete engine for your website.