Extension talk:MediawikiPlayer

Default image and any other setting known as "Flashvars"
I would like to suggest you add support for default images to your extension. All that was needed was a change to the default settings to include $wgMWPlayerDefaultSettings = array(              'width' => '400',               'height' => '300',               'allowfullscreen' => 'true',               'backcolor' => 'eeeeee',               'image' = ' ',               );

and then a command such as

http://www.yourdomain.com/mediafile.flv

can be used to set the preview image.

Thanks for the great extension.


 * You can already set the image and any other setting known as "Flashvars" listed on this page:list of flashvars You don't need to edit the extension file at all, just add the parameter to the tag. --Frantik 05:36, 28 November 2009 (UTC)
 * for example, this is perfectly valid and displays an xspf playlist

http://domain.com/playlist.xspf
 * --Frantik 05:47, 28 November 2009 (UTC)

Use in Template
Is there any way to use link in a template? If I try so Mediawiki just prints it out and doesnt convert it.--Eski123 17:13, 30 November 2009 (UTC)
 * MW parses tags in brackets before other parts of the text, ie before tempates are transcluded. I will look into ways around this for future versions.  --Frantik 16:28, 3 December 2009 (UTC)
 * if you're running 1.12+, look into the #tag magic word: http://www.mediawiki.org/wiki/Help:Magic_words#Miscellaneous

Captions from a different server
Thank you so much for this extension : very useful !

However, I'me having trouble with captions : can't manage to have them appear on a video.

Did anybody succeeded doing this ?

--Dieudo 11:46, 10 December 2009 (UTC)


 * Hi Dieudo, see this page for more information about reading files across domains. You most likely need to set up a crossdomain.xml file.  --Frantik 10:58, 16 December 2009 (UTC)


 * Thank you Frantik for the tip ;-)
 * However, I wonder how it could easely be set up, because for example for the first video on this page : http://fr.nvcwiki.com/index.php/Marshall_Rosenberg/bigpicture.tv I can manage to have the video but not subtitles eventhough they are here : http://fr.nvcwiki.com/images/Marshallrosenberg1.srt and I've set this file : http://fr.nvcwiki.com/images/crossdomain.xml !
 * I don't know at all what could have been done wrong :( --Dieudo 17:04, 16 December 2009 (UTC)
 * I'm not quite sure.. if you notice the player has a small "CC" icon so it seems like it is trying to work. Perhaps try a file with only plain ascii characters?  you may wish to ask for help on the jwplayer forums as well.  --Frantik 00:25, 17 December 2009 (UTC)
 * Thanks for the suggestion Frantik. Here it is : http://www.longtailvideo.com/support/forum/Plugins/21405/Can-t-have-captions-show-within-MediaWiki
 * --Dieudo 09:06, 17 December 2009 (UTC)
 * Some progress here :-) : http://www.dieudo.fr/w/index.php/Marshall_Rosenberg/MediawikiPlayerHTML
 * It's not using the extension, but at least it works ! --Dieudo 20:29, 17 December 2009 (UTC)
 * I see now.. it is because mediawiki doesn't recognize captions.file as a proper argument. :( i'll see what I can do --Frantik 10:44, 24 December 2009 (UTC)