This question about Using an extension: Needs followup in Tasks

MediaPlugin doesn't play wmv / avi


I'm new on Foswiki and I installed Foswiki VM 1.05 and have problems with MediaPlugin.

mpeg files are played correctly with Quicktime

When I try to add mpg / wmv or avi - files , Mediaplayer is shown but i can't press the play button.

I added the files like:
%MEDIA{"%PUBURL%/System/MediaPlugin/Mise en scène de J'aurais pu sauver une vie ce jour-là.mpg" height="300" width="380"}%

Has anybody an idea?


-- Jochen


Please try a filename with allowable characters. If you have attached the file, Foswiki should have replaced spaces by underscores and such.

-- ArthurClemens - 18 Jun 2009

and, most likely mangled the accented characters, too, unfortunately. :((

-- WillNorris - 18 Jun 2009

Sorry - i used an bad example

when i use %MEDIA{"%ATTACHURL%/Film_Danone_Kulturschleuse_4min.wmv" height="300" width="380"}%

I can't use play button - see attachment:

My english is not so good - what do you mean with "mangled the accented characters"?

-- regards Jochen

I just found a bug in the lookup of media types. The new version is now at MediaPlugin. Please check if this version (1.3.1) works better. If not, do the wmv demo files on the plugin topic work for you?

-- ArthurClemens - 20 Jun 2009

I installed version 1.31 but now i get following error message:
Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.  Can't locate object method "openAttachment" via package "Foswiki::Meta"
I didn't find anything in Foswiki logs or webserver logs.

which wmv - files do you mean?

thanks for your patience

-- regards Jochen

My bad. I used an unreleased internal function call. I have fixed this with version 1.3.2. So please try again.

The plugin topic is at System.MediaPlugin. If you open that topic you will see a number of demo movies loaded: flash, quicktime, midi and wmv. Check if you see the wmv example.

-- ArthurClemens - 22 Jun 2009

i've installed new version, but now i get following error - even at the plugin topic

Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.  RCS: stream open path failed: No such file or directory

-- regards Jochen

Can you have a look at your server logs? I get the feeling that the file System/DocumentGraphics/_filetypes.txt is not read correctly.

-- ArthurClemens - 23 Jun 2009

I had the same problem. I found in the warning log:

RCS: stream open /path/to/foswiki/pub//MediaPlugin/mimetypes.txt failed: No such file or directory at /path/to/foswiki/lib/Foswiki/Store/ line 967

It seemed that the the variable $installWeb was not being set properly in (it was blank), so I fixed it (inelegantly) by setting $installWeb="System", and the plugin worked.

-- SalmanSamson - 13 Sep 2009

I did not find an error in the code - installWeb is just passed to the plugin init handler. However I've created a fallback value in case it is not there. Please try version 1.3.3 and see if that works any better.

-- ArthurClemens - 13 Sep 2009

I have this problem when using IE8 (FF3.6.3 works ok). I'm using V 1.3.3 of the plugin. The player controls are displayed but none of them are clickable (all gray). Removing the classid parameter from the template (mediaplugin_wmv.tmpl) makes it work, after something gets downloaded from Microsoft. BTW, the "play" parameter is ignored for WMV files in FF; it autostarts even though config and play parameter say not to.

QuestionForm edit

Subject Using an extension
Extension MediaPlugin
Status Needs followup in Tasks
Topic attachments
I Attachment Action Size Date Who Comment
ps.PNGPNG ps.PNG manage 10 K 19 Jun 2009 - 07:04 JochenLindemann  
Topic revision: r14 - 22 Apr 2010, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy