Mediaplayer

Jump to: navigation, search

Hi I am using:

  • Mediawiki 1.15.4
  • PHP/5.3.0
  • MySQL5.1.36

I am trying to download mediaplayer onto my wiki which is on my computer. I have downloaded the player to

Wamp>www>mediawiki>extensions Mediaplayer-5.4

I pasted in local settings:

require_once("$IP/extensions/MediawikiPlayer/MediawikiPlayer.php");

Which returns the error below.

I can see I need to do more from http://www.mediawiki.org/wiki/Extension:MediawikiPlayer#Installation

But I do nort know what. I can also see that I am not very good at this!

Cheers

Ron Barker 00:15, 2 January 2011 (UTC)

Warning: require_once(C:\wamp\www\mediawiki/extensions/MediawikiPlayer/MediawikiPlayer.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\mediawiki\LocalSettings.php on line 126

Fatal error: require_once() [function.require]: Failed opening required 'C:\wamp\www\mediawiki/extensions/MediawikiPlayer/MediawikiPlayer.php' (include_path='C:\wamp\www\mediawiki;C:\wamp\www\mediawiki/includes;C:\wamp\www\mediawiki/languages;.;C:\php5\pear') in C:\wamp\www\mediawiki\LocalSettings.php on line 126

Ron Barker00:15, 2 January 2011

The directory needs to be called "MediawikiPlayer", not "Mediaplayer-5.4".

Emufarmers(T|C)01:26, 3 January 2011
Edited by author.
Last edit: 14:57, 3 January 2011

Many thanks for your reply

I am still having problems though. It may be that I need to add something more in 'local settings' or the 'player' should not be in 'extensions'

After changing the name of the player I get the error below.

Warning: require_once(C:\wamp\www\mediawiki/extensions/MediawikiPlayer/MediawikiPlayer.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\mediawiki\LocalSettings.php on line 126
Fatal error: require_once() [function.require]: Failed opening required 'C:\wamp\www\mediawiki/extensions/MediawikiPlayer/MediawikiPlayer.php' (include_path='C:\wamp\www\mediawiki;C:\wamp\www\mediawiki/includes;C:\wamp\www\mediawiki/languages;.;C:\php5\pear') in C:\wamp\www\mediawiki\LocalSettings.php on line 126
Ron Barker14:41, 3 January 2011

In ‘local settings’ I added:

C:\wamp\www\mediawiki;

Above:

require_once("$IP/extensions/MediawikiPlayer/MediawikiPlayer.php");

Which returned the error:

 Fatal error: Undefined constant 'wamp\www\mediawiki' in C:\wamp\www\mediawiki\LocalSettings.php on line 126

Regards

Ron Barker14:55, 3 January 2011

I then tried adding:

C:\wamp\www\mediawiki/extensions/MediawikiPlayer/MediawikiPlayer.php);

require_once("$IP/extensions/MediawikiPlayer/MediawikiPlayer.php");

which returns the error message:

 Parse error: parse error in C:\wamp\www\mediawiki\LocalSettings.php on line 126

I then tried:

C:\wamp\www\mediawiki/extensions/MediawikiPlayer

Ron Barker15:04, 3 January 2011

Can nobody point me in the right direction?

Cheers

Ron Barker09:50, 13 January 2011

You need to put the MediawikiPlayer directory you downloaded in C:\wamp\www\mediawiki\extensions.

Emufarmers(T|C)19:27, 13 January 2011

Thank you for replying. That is where I put it. It's what I need to next. As you can see above I seem to be doing something wrong. I think that I am missing a step before putting: require_once("$IP/extensions/MediawikiPlayer/MediawikiPlayer.php"); in LocalSettings, but that is just a guess.

This is a copy of C:\wamp\www\mediawiki\extensions

Thanks

Ron Barker22:11, 13 January 2011

You haven't put the directory in the right place, or you're missing a file. I'm not sure what else I can tell you.

Emufarmers(T|C)03:56, 14 January 2011

Thank you sorry for wasting your time. I obviously do not know what I am doing. I did get as far as The media player is loading... but it never loaded. I will just have to do without.

Once again thank you.

Ron Barker09:59, 14 January 2011

Hi all, I'm using MediawikiPlayer 0.3.0 with JW player 5.7 on Mediawiki 1.16.5. No issues at all from IE9, Chrome or iOS (4.3) devices.. but the player won't start under IE8 (tried with flash 9 and the most recent 10,3,181,26) and the page would simply say "The media player is loading...". Does anybody know how to fix this? Thanks a lot, Sergio

72.225.222.22214:31, 25 June 2011

PS: altro tried from Firefox 4.. it works but not like in Chrome, IE and iOS\Safari... instead of starting to play the file immediately it wants to buffer the entire file! It makes it basically unusable for long videos.

72.225.222.22214:33, 25 June 2011

ok guys here is the solution step 1. download file from http://www.longtailvideo.com/jw/upload/mediaplayer-viral.zip and extract it. step 2. download configuration file from http://swiftlytilting.com/files/MediawikiPlayer.0.3.0.zip extract it rename it to mediaplayer. step 3. paste all the file from step 2 in the mediaplayer folder in step 3 step 4. place the mediaplayer folder in /extension folder step 5. add in local settings require_once( "$IP/extensions/MediawikiPlayer/MediawikiPlayer.php" );

                              MediawikiPlayer::useAddOn('PlayerPointer');

step 6. use it using syntax <mediaplayer>File:xyz.mp4</mediaplayer>

117.198.143.19216:02, 30 November 2011

Thank you but I am sorry to say that it was not a solution for me. The player did load but I have a host of errors on the main page. Kind regards.

Ron Barker21:51, 10 December 2011