I am using this extension in my mediawiki application . But it plays some files . Currently it is working only for webm ogv and youtube videos file format only but not mp4 mp3 and flv .
for these files error is
Error loading player: could not load player configuration
this is my embeded code
webm
<mediaplayer mode="packed">File:Small.webm</mediaplayer>
ogv
<mediaplayer mode="packed">http://techslides.com/demos/sample-videos/small.ogv</mediaplayer>
mp4
<mediaplayer mode="packed">http://techslides.com/demos/sample-videos/small.mp4</mediaplayer>
flv
<mediaplayer mode="packed">http://techslides.com/demos/sample-videos/small.flv</mediaplayer>
audio
<mp3player>File:Pakeezah2(www.songs.pk).mp3</mp3player>
I also tried to add configuration in Localsetting.php
$wgMWPlayerConfig = array(
'MyCustomConfig' => array ( 'width' => '900',
'height' => '300',
'allowfullscreen' => 'false',
'backcolor' => 'cccccc',
),
'AnotherConfig' => array ( 'width' => '600',
'height' => '400',
'allowfullscreen' => 'true',
'backcolor' => '000000',
)
);
$wgMWPlayerDefaultSettings = array(
'width' => '400',
'height' => '300',
'allowfullscreen' => 'true',
'backcolor' => 'eeeeee',
);