Video player displays but doesn't play file -

If you are having problems with my MediaWiki Extensions, post here.
User avatar
Wturner
Rank 2
Rank 2
Posts: 12
Joined: April 2nd, 2009, 10:52 am

Video player displays but doesn't play file -

Post by Wturner »

Hi,

I added the flv player extension to our wiki . The player is displayed and looks great , but it won't play the flv file(s) I upload.


Here is a link to our sandbox where I have the player displayed as well as a link to an flv file.

http://www.wikiaudio.org/index.php?title=Sandbox

The player says " Video not found: images/9/96/Video.flv"

but when I go to that directory on the server the file is there.


Please help!

Thanx
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Video player displays but doesn't play file -

Post by Paul »

The extension didn't get install properly...
User avatar
Wturner
Rank 2
Rank 2
Posts: 12
Joined: April 2nd, 2009, 10:52 am

Re: Video player displays but doesn't play file -

Post by Wturner »

I followed the instructions to the tee.

I uploaded the file to the extensions directory and unzipped it.

Then I added the code to the localsettings.php file.

Do you have any idea what could have gone wrong?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Video player displays but doesn't play file -

Post by Paul »

Somehow, the extension didn't get loaded into page...
User avatar
Wturner
Rank 2
Rank 2
Posts: 12
Joined: April 2nd, 2009, 10:52 am

Re: Video player displays but doesn't play file -

Post by Wturner »

what version of mediawiki is the extension suppose to work with?

I am running :


MediaWiki 1.13.1
PHP 5.2.5 (cgi)
MySQL 4.1.22-standard-log
User avatar
Wturner
Rank 2
Rank 2
Posts: 12
Joined: April 2nd, 2009, 10:52 am

Re: Video player displays but doesn't play file -

Post by Wturner »

do you have any ideas for things I can do that might fix this?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Video player displays but doesn't play file -

Post by Paul »

Open the php file, try to change the variable below to a string and see what will happen.

Code: Select all

$playerID = mt_rand();
User avatar
Wturner
Rank 2
Rank 2
Posts: 12
Joined: April 2nd, 2009, 10:52 am

Re: Video player displays but doesn't play file -

Post by Wturner »

could you elaborate on what php file you're referring to and what are the exact lines of code that are supposed to be added to the file
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Video player displays but doesn't play file -

Post by Paul »

there is only one php file in the package... :o
User avatar
Wturner
Rank 2
Rank 2
Posts: 12
Joined: April 2nd, 2009, 10:52 am

Re: Video player displays but doesn't play file -

Post by Wturner »

ok.

Could you elaborate on the exact lines of code?

I am relaying this to somebody who is trying to help me with this.
Post Reply