Extension talk:Player

From mediawiki.org
Latest comment: 11 years ago by Robkam in topic Nothing better yet?
not difficult, but unsafe. -- Duesentrieb 10:32, 8 February 2008 (UTC)Reply
I never tried with 1.9. It was developed for 1.10 -- Duesentrieb 10:32, 8 February 2008 (UTC)Reply
It already has mp3 enabled per default (assigned to the MIME type audio/mp3). Make sure the MIME type is detected correctly on upload (see Manual:Mime type detection and Manual:Configuring file uploads. -- Duesentrieb 21:27, 13 August 2007 (UTC)Reply
but Dues its not work i'm only get it up but the Movie/mp3 dont begin play - --62.128.243.228 11:41, 14 August 2007 (UTC)Reply
then your plugins are broken in some way. -- Duesentrieb 10:32, 8 February 2008 (UTC)Reply
  • I have installed the extension as per the installation instructions, but had to edit the LocalSettings.php file line to read: include('/extensions/Player/Player.php'); rather than require_once( "$IP/extensions/Player/Player.php" );
What have I done wrong? Without this change the Main page will not load. 150.199.117.70 17:49, 31 August 2007 (UTC)Reply
Very likely, you have put the files in the wrong place. the path /extensions/Player/Player.php (without the $IP) is definitly wrong, but what the right place is on your system, i can not tell you. using "include" instead of "require_once" means it does not die if the file is missing, so that would be the reason it "works". -- Duesentrieb 10:32, 8 February 2008 (UTC)Reply
  • I get Parse error: syntax error, unexpected '{' in /home/atground/public_html/mediawiki/extensions/Player/Player.php on line 80 but haven't touched the files in any way
Update: There's something weird here. It seems to work sometimes, and not other times. More details later. --Anderssl 08:50, 25 April 2008 (UTC)Reply
Ok, found the problem: It seems that underscores in the filename causes problems. I removed all underscores, and now it's working as it should. --Anderssl 12:04, 25 April 2008 (UTC)Reply
  • In my setup, the player doesn't work with mp3 files in firefox for PC (on a mac it works fine). Firefox searches for a plugin, without finding one - even though the plugins are already installed and work fine with other sites. I'm currently on Firefox 2.0.0.14. --Anderssl 08:50, 25 April 2008 (UTC)Reply
Make sure the mime type for the mp3 is detected correctly (it's reported on the file's description page). See Manual:MIME for details. -- Duesentrieb 11:04, 25 April 2008 (UTC)Reply
It is, it's set at audio/mp3. As I said, it works fine on my mac... On the PC I have Quicktime and Flash player, both working fine with other websites. Any idea what's wrong? --Anderssl 12:04, 25 April 2008 (UTC)Reply
flash player sure doesn't play mp3 (although there are players *written* in flash that can do that -- but they don't kick in unless you configure the extension to use that). And I guess your Quicktime plugin isn't registered to play mp3s either. I don't know your browser determines which plugin to use for which mime type, perhaps look at the browsers documentation.
Basically, the Player extension just gives your browser a mime type and a url and hopes your browser is smart enough to handle it. If it isn't, fix your browser's setup. Or tell the extension to use some flash or java based player for that mime type, that's what the "templates" stuff is for. -- Duesentrieb 13:32, 25 April 2008 (UTC)Reply
  • Hello, I put the Player Dir into my extensions and the requier_once line in my localsettings.php

Now when i open my special Pages site there is a link: Player. When i open it, i can insert a file. But when i click on play there came the following error: Fatal error: Call to undefined method LocalFile::getExifData() in C:\Programme\xampp\htdocs\w\extensions\Player\SpecialPlayer.php on line 114. think i forgot something to do, but i really dont know what. Can somebody help me? kindly regards Michael

I have got the same problem for my site.
Fatal error: Call to undefined method LocalFile::getExifData() in /home/ourtrick/public_html/wiki/extensions/Player/SpecialPlayer.php on line 114
Ourtricks 18:28, 23 June 2009 (UTC)Reply
  • Why does the player not work when I install new skins? I have tried three different ones, it breaks on all of them (although it works fine in all the default skins). Anyone know where to look in order to fix this? --Anderssl 16:46, 9 October 2009 (UTC)Reply

Nothing better yet?[edit]

It says "Note that this extension is experimental and basically an ugly kludge while waiting for more flexible media file handling facilities in MediaWiki proper."

Is there since 2007, still nothing released as stable for handling various audio/video files? That can do for example <player align="right" width="200">Some_file_name.mp3|Some descriptive text here.</player>.

--Robkam (talk) 10:42, 29 March 2013 (UTC)Reply