Jump to content

Extension talk:EmbedVideo++

Add topic
From mediawiki.org
Latest comment: 12 years ago by Carlb in topic Likely broken in MW 1.18+

Made a small fork with some corrections for Sevenload User:DaSch/EmbedVideo --DaSch 11:19, 15 February 2009 (UTC)Reply

I want to do major rewrite in 0.2, but i dont know when you should expect this, can i merge in also your patch ? Dinth // 83.7.195.121 19:36, 24 February 2009 (UTC)Reply
Yes sure you can use it. And please credit me ;) and tell me when it's ready so I can use it in my wiki. --DaSch 15:25, 25 February 2009 (UTC)Reply


Doesn't work with current version (1.16a)

[edit]

Just as EmbedVideo this fork doesn't work : "Catchable fatal error: Object of class EmbedVideo could not be converted to string in {url}/Setup.php on line 323" --Anton Dertovk 02:25, 16 June 2009 (UTC)Reply



Custom Service not possible for FLV files?

[edit]

Great code work! I'm just trying to figure out the URL for custom .FLV files I have on my webserver. I get the error message:

EmbedVideo received the bad id "Paramount_Previews.flv" for the service "bullfrog117".

The wiki code I used was this:

{{#ev:bullfrog117|Paramount_Previews.flv}}

The LocalSettings.php mod I used was this:

require_once('extensions/EmbedVideo.php');
$wgEmbedVideoServiceList['bullfrog117'] = array(
   'url' => 'http://bullfrog117.com/video/$1'
);

The test page is here:

http://wikiswing.com/index.php?title=Flash_Test_1

Any ideas? Bullfrog117 15:49, 22 December 2011 (UTC)Reply

Likely broken in MW 1.18+

[edit]

This is yet another extension calling $wgMessageCache->addMessage() to add localisable strings?

There's no way this can work in MediaWiki 1.18 or later without modification as $wgMessageCache no longer exists. Current extensions typically include a *.i18n.php file with a hook to load the messages on startup and this extension will likely need this (or at least the addMessage() stuff removed) to even try to run. That doesn't preclude other compatibility issues, such as that raised by the one previous user trying to deploy this to MW 1.16, but it is pretty much a guarantee that things will break under current MediaWiki. Error 500, anyone? --Carlb (talk) 06:07, 10 March 2012 (UTC)Reply