Topic on Extension talk:TimedMediaHandler

Interwiki breaking video display?

4
Scarred Sun (talkcontribs)

I currently use a shared repository wiki a la Commons to host files that should be on multiple wikis. When I upload a mp4 file to this shared repository (http://retrocdn.net/File:FinalBlasterBurningForce_MD-PCE_JP_TVAdvert.mp4) and try to use it on another site (http://segaretro.org/Burning_Force) I receive the following PHP Fatal Error:

Fatal error: Call to undefined method FileRepo::fetchImageQuery() in extensions/TimedMediaHandler/WebVideoTranscode/WebVideoTranscode.php on line 686

Any help on why this may be happening? For the record, locally-uploaded video files to either wiki are fine.

TheDJ (talkcontribs)

This is phab:T63986. You can bypass this problem, by using ForeignDBViaLBRepo instead of ForeignDBRepo.

Nbrouard (talkcontribs)

Do you mean that we should use $wgForeignFileRepos with 'class' => 'ForeignDBViaLBRepo'?

But what if using old syntax with $wgSharedUploadPath, $wgSharedUploadDirectory etc?

T0lk (talkcontribs)

I was having this problem too. The easiest solution was switching to Extension:EmbedVideo, which met my needs.

Reply to "Interwiki breaking video display?"