Extension talk:TimedMediaHandler

Jump to navigation Jump to search

About this board

Please help me disable this Kaltura player

HausaDictionary (talkcontribs)

Example page of where the problem occurs: http://hausadictionary.com/index.php?title=resurrection&mobileaction=toggle_view_desktop

Every time I have more than one audio on a page, one of them disappears and I see a badly embedded Kaltura player. I tried removing either of the following from LocalHost.php and get errors or the media embed won't work:

wfLoadExtension( 'MwEmbedSupport' );

require_once "$IP/extensions/TimedMediaHandler/TimedMediaHandler.php";

Thanks in advance!

Reply to "Please help me disable this Kaltura player"

TimedMediaHandler for MediaWiki 1.31

Summary by Kghbln

Documentation was adjusted.

Daniel K. Schneider (talkcontribs)

For MW 1.31 (Ubuntu 18 and PHP 7.2) I had to execute a composer update within the extension

cd TimeMediaHandler
composer update

Otherwise it could not find getid3 (sorry I lost the error trace, but if I get this again with my next installation, I'll add it)

Kghbln (talkcontribs)

Probably it will be easier to add something like this to your "composer.local.json" file:

	"extra": {
		"merge-plugin": {
			"include": [

Thus you do not have to change to the extension's directory and update with Composer from wiki root. I guess this needs to be documented.

TimedMediaHandler for MediaWiki 1.30

StormKyleis (talkcontribs)


I'd like to use this extension, but our Wiki runs on MediaWiki 1.30. The Extension page says:

"Note that, although MwEmbedSupport was included in TimedMediaHandler for MediaWiki 1.31 and later, for MediaWiki versions prior to that you will need to download it from the archive page."

But sadly, the download link on the archive page of MwEmbedSupport is no longer working.

Considering we currently can't upgrade to 1.31, could anybody provide an alternative download link to MwEmbedSupport?

Jdforrester (WMF) (talkcontribs)


Summary by InkluPedia

MwEmbedSupport extension is still required for latest stable version MediaWiki 1.31.0. Description of Extension:MwEmbedSupport was improved a bit and download is still possible.

InkluPedia (talkcontribs)

Hello. The Extension:MwEmbedSupport is no longer available (archived), but TimedMediaHandler requires MwEmbedSupport until latest stable MediaWiki version 1.31? I am currently installing MediaWiki 1.31.0 on my wiki InkluPedia and detected this issue. Thanks.

InkluPedia (talkcontribs)

"php update.php" is complaining "TimedMediaHandler requires the MwEmbedSupport extension." So why it is no longer available (archived) when it is still required for latest official and LTS version of MediaWiki?

TheDJ (talkcontribs)
InkluPedia (talkcontribs)
TheDJ (talkcontribs)

I have already expanded the message on that page to be more descriptive.

Elbiztec (talkcontribs)

Hello, I installed the extension TimedMediaHandler and run good in sounds, but in video it appears with this error, i created temp folder and put the code $wgTempDirectory but not work, any help would be greatly appreciated

Brion VIBBER (talkcontribs)

Assuming ffmpeg is installed correctly, it's common to get thumbnailing errors due to the low default memory limit.

Try adding to LocalSettings.php: $wgMaxShellMemory *= 4;

Reply to "Error creating thumbnail"

Doesn't work with PostgreSQL Backend

2 (talkcontribs)

Needed to modify the database table creation as follows:

CREATE TABLE /*_*/transcode (

        transcode_id SERIAL PRIMARY KEY,

        transcode_image_name VARCHAR(255) NOT NULL,

        transcode_key VARCHAR(48) NOT NULL,

        transcode_error TEXT NOT NULL,

        transcode_time_addjob VARCHAR(14) NULL,

        transcode_time_startwork VARCHAR(14) NULL,

        transcode_time_success VARCHAR(14) NULL,

        transcode_time_error VARCHAR(14) NULL,

        transcode_final_bitrate INT NOT NULL

); (talkcontribs)

Should actually be

CREATE TABLE /*_*/transcode (

        transcode_id SERIAL PRIMARY KEY,

        transcode_image_name VARCHAR(255) NOT NULL,

        transcode_key VARCHAR(255) NOT NULL,

        transcode_error TEXT NOT NULL,

        transcode_time_addjob VARCHAR(255) NULL,

        transcode_time_startwork VARCHAR(255) NULL,

        transcode_time_success VARCHAR(255) NULL,

        transcode_time_error VARCHAR(255) NULL,

        transcode_final_bitrate INT NOT NULL


Reply to "Doesn't work with PostgreSQL Backend"

Further cleanup of docu?

Summary by Kghbln

Content cleared and moved to subpages.

Kghbln (talkcontribs)

@Brion Vibber (WMF): I just saw that you recently made an effort in cleaning up the docu. I wonder if the sections "Roadmap" and "Notes" need to be kept. I guess that the "Roadmap" should somehow be part of some Phabricator tasks and the "Notes" date from 2013 and appear to be very WMF specific.

Kghbln (talkcontribs)

I just moved the respective content to subpages. I guess that this is acceptable.

Ponkabonk (talkcontribs)

I'm trying to get my first video file to play.

I've tried the following:

[[Video:Foxhat.ogv]|Video Test]]

[[File:Foxhat.ogv]|Video Test 2]]

But when clicking on either of the links, it opens the file upload page.

If I use: [[Media:Foxhat.ogv]] then it plays the video but in a full-screen player but I'd really like to be able to embed the video on the page.

I have no idea how to approach fixing this. Any help would be greatly appreciated.


Bawolff (talkcontribs)

You have an extra ]. Syntax is [[file:Foxhat.ogv]].

If its just rendering as a link, it means that the extension is not installed properly (talkcontribs)

I`am having an exact same problem, i tried everything and it simply isn`t working.

The ogg, and oga files are displayed, and played properly. But link with

[[File:sample.ogv|sample]] always opens upload files page.

Since installation is a simple unpacking of files to certain spot i doubt that any 1 can miss install it.

Reply to "Syntax for embedding a .ogv file?"
2604:2000:2440:3400:4054:F1F3:64C3:E44B (talkcontribs)

Are there any updates to the this item on the roadmap?

  • "GIF mode" for autoplay silent videos

it's something I've been wanting to try in MediaWiki for a while, and would be great to have.

Or, at least, are there ways to make an embedded video autoplay/silent/looping as individual parameters?


Reply to "Updates on GIF mode?" (talkcontribs)

Hello, I am evaluating this extension for use in my wiki. I still see this as part of the roadmap:

"Add support for mp3 uploads and audio transcoding to mp3 and ogg. ( Off by default until mp3 patents expire in 2012 )"

It's not crossed out. Does it mean that at the moment I will still be unable to use it for the mp3 files that I have uploaded in my wiki?


Jdforrester (WMF) (talkcontribs)

Hey there. This code is working in master, but you have to configure it on (set $wgTmhEnableMp3Uploads to true). Relatively soon I imagine we'll remove the disablement.

Reply to "Mp3 support?"