Extension talk:HTML5video

About this board

Video file upload location?

Asmielniczuk (talkcontribs)

I'd rather not have video files under the extensions. Is there a way to use the regular mediawiki file upload location? Uploading to YouTube does work nicely, but may not want all videos in the public sphere.

Dshinks (talkcontribs)

Yes, I'd like this too if possible.

A good alternative would be if we could set a parameter in localsettings.php to specify upload location. The ability to upload videos into the File namespace would be huge for this though, so we could gain all the benefits of tracking links to it.


Reply to "Video file upload location?"

This extension does not appear to be maintained.

2 (talkcontribs)
Berbo (talkcontribs)
Reply to "This extension does not appear to be maintained."

Adding a link is vandalism?

Summary by Jkmartindale

The reviewer saw "porn" in the URL and didn't bother to check the URL contents. (talkcontribs)

Hello. Yesterday i have attempted to add a link to a similar extension to this page, and i was reverted and accused of vandalism. I have attempted to clear up the situation here, but have received no reply. What is going on?

Jkmartindale (talkcontribs)

The reviewer saw "porn" in the URL and didn't bother to check, it appears. An honest mistake, I guess. (talkcontribs)

.. you rock!

Is there some place I can give you money? (talkcontribs)

I agree, I needed this extension. Very much appreciated!

configured HTML5video.php for poster attribute

Summary by Jkmartindale

Added into extension code

Teststudent (talkcontribs)

html5 allows a poster="" attribute to the <video> tag.

A simple php update allows this extension to make use of it. Might want to add this to the next version:

line entire new line of code to enter.
61 $poster = isset($args['poster']) ? $args['poster'] : 'none';
$output = '<video width="' . $width . '" height="' . $height . '" poster="' . $wgScriptPath . '/extensions/HTML5video/videos/' . $poster . '" autobuffer controls ' . $autoplay . ' preload="auto" >' .
91 $output = '<video width="' . $width . '" autobuffer controls ' . $autoplay . ' preload="auto" poster="' . $wgScriptPath . '/extensions/HTML5video/videos/' . $poster . '" >' .

then just swap your jpeg into the same folder as your vid's, add poster"yourpic.jpg" to your <HTML5video> tag, and voila.

P.S.: the URL in the extension credits is meant to be a direct link to the extension itself.

PPS: If you're using server caching like APC, don't forget to reload the webserver. (talkcontribs)

Hi, The extension do you need to enable HTML tags withing LocalPhp..Following the instructions and it wont play the test files. says "No Video with supported format and MIME type found.".

Any help Appreciated, Thanks Leonard.

2001:981:6214:1:1893:2485:8EE8:8D00 (talkcontribs)

I have same issue did you fix this? (talkcontribs)


Its leonard.

I didn't get it working I have another issue now. but the youtube video link works fine. I followed the same installation method.

Many thanks,


Reply to "Videos won't play."

Set video position within modal

1 (talkcontribs)

Hi. I'm using this extension to autoplay a video that is accessed by clicking into a modal. I have a number of videos that operate in this way on the same page. The problem I'm having is when I click to open the first modal, the video pops up and plays without a hitch. Say for example I watched that first video for 20 seconds then closed the modal, if I go to click a second link - or even the same on again - the video will resume play from whatever time I left it at.

Is there a way to have the video position reset to 0/-1 when the link to open the modal is clicked?


Reply to "Set video position within modal"

Loss of Video Quality

1 (talkcontribs)

I produced a video at 1280x720 which even after conversion looks very clean. However, when playing the video via this extension, the quality is dramatically reduced. It looks like it's scaling the video down to the default values, then interpolating it back up to the size that I specified!

Please can you tell me how to address this?

Many thanks!

Reply to "Loss of Video Quality"

Can't get video to play

Konjurer (talkcontribs)

Playing a youtube video works fine but playing the internal sample video (bunny.mp4) doesn't appear. The extension is installed here: $IP/extensions/HTML5video/HTML5video.php

The sample video is here: extensions\HTML5video\videos\bunny.mp4

The usage is: <HTML5video width="520" height="320" autoplay="false" loop="false">bunny</HTML5video>

Yet nothing appears on the page. Any ideas what I might be doing wrong?


Reply to "Can't get video to play"

Version prompted is V1.0

3 (talkcontribs)

The download link leads to a file with Version 1. It should be V1.1? (talkcontribs)

The download by today (01/28/12) doesn't support fallback to jwplayer at all.

Reply to "Version prompted is V1.0"
Return to "HTML5video" page.