Extension talk:Player

From MediaWiki.org
Jump to navigation Jump to search
  • How difficult would it be to allow external links to media to be played with this player? --Jeffmcneill 20:51, 4 November 2007 (UTC)
not difficult, but unsafe. -- Duesentrieb 10:32, 8 February 2008 (UTC)
I never tried with 1.9. It was developed for 1.10 -- Duesentrieb 10:32, 8 February 2008 (UTC)
  • Can You add the mp3 Format? - For listening on mp3 music! - -- 14:32, 13 August 2007 (UTC)
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)
but Dues its not work i'm only get it up but the Movie/mp3 dont begin play - -- 11:41, 14 August 2007 (UTC)
then your plugins are broken in some way. -- Duesentrieb 10:32, 8 February 2008 (UTC)
  • 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. 17:49, 31 August 2007 (UTC)
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)
  • 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
  • Is it possible to use the player with .m4a files? How do you set the mime type correctly? (Sorry if this is a stupid question, I'm a newbie...) --Anderssl 13:19, 17 April 2008 (UTC)
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)
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)
  • 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 --Anderssl 08:50, 25 April 2008 (UTC)
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)
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)
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)
  • 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)
  • 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)

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)