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.
Extension talk:HTML5video/Flow
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.
Thanks
I've forked your project by adding it to GitHub.
are you still working on this? I forked your repo and posted a Pull Request.
See my fork: https://github.com/dcburleigh/HTML5Video
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?
The reviewer saw "porn" in the URL and didn't bother to check, it appears. An honest mistake, I guess.
.. you rock!
Is there some place I can give you money?
I agree, I needed this extension. Very much appreciated!
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'; |
(now) 69 | $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.
- line 35:
'url' => 'https://www.mediawiki.org/wiki/Extension:HTML5video',
PPS: If you're using server caching like APC, don't forget to reload the webserver.
Thanks for this add. It works!!!
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.
I have same issue did you fix this?
Hi,
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,
Leonard
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?
Thanks
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!
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?
Thanks!
The download link leads to a file with Version 1. It should be V1.1?
The download by today (01/28/12) doesn't support fallback to jwplayer at all.
Where to See Whales shows V1.1, but no Video with FF9.