Forum:Official WebM Support

From the Kingdom Hearts Wiki: A world of information not accessible by Gummiship
Jump to navigationJump to search
Gummi Garage.png
Forums: Index > Gummi Garage > Official WebM Support


L5XdDIb.png
D3XUS - We fall because someone pushes us. We get up to push back.
Talk ♦ You get love for it, you get hate for it, you get nothing if you wait for it. - 04:14, 30 November 2015 (UTC)
A lot of you know me as the guy who added a gazillion gifs to the Wiki for lots of things. Now that the semester is winding down for me and I'll be able to get back to this, I wanted to propose the addition of an extension that would make this a **lot** easier: the implementation of HTML5 video in place of gifs. The primary video format that I would love to see is .webm; it's essentially a miniature video, but of much higher quality and much better file size. You can see a technical writeup on it here. Essentially, webm displays video instead of a string of images in a much more efficient manner than gifs are currently capable of doing. More reading.

TL;DR: Using WebM gives us much higher quality animations for scenes, weapons, limits, and more. They aren't even animations at that point; they're real videos. If any of you use Imgur, 99.99% of all their animated gifs are gifv, which is a renamed version of the webm extension.

TimedMediaHandler MediaWiki Extension

Using webm would be the same as current files. Just [[File:ImAVideo.webm]] and you're all set. The above extension in particular also allows us to begin a video from a specific spot; that is, it's possible to have a much longer video and only show portions of it where necessary instead of uploading individual files that get all over the place. I don't know if we **want** to use that part, just something extra I thought might be cool.

What do you think? I know I've been gone for a while and I might not have any real say, but I thought it was worth bringing up.
Don't hurt me



zMc2eS1.png
Chitalian8 Say... — Mother and Father call me Joshua. I guess you can call me Joshua, too... Since you're my dear, dear partner.

I don't see how this is my fault. You're the one who refuses to call me Pink. — 04:34, 30 November 2015 (UTC)

20px-Pin_000.png I'm pretty familiar with how effective webms can be over gifs, so as long as they can be implemented with the same functionality as our current gifs (work with the thumbnail frame, automatically play/loop) then I'm all for it. 60fps fast-loading webms would be lovely to have.


L5XdDIb.png
D3XUS - We fall because someone pushes us. We get up to push back.
Talk ♦ You get love for it, you get hate for it, you get nothing if you wait for it. - 00:35, 2 December 2015 (UTC)
Here's a good example.

The issues with this file include...

  • It doesn't autoplay
  • There's audio
  • It looks weird if not resized natively

I'm trying to find a way to mitigate all of those problems. It appears as though the extension I linked to doesn't solve any of them; MediaWiki doesn't have a way to natively autoplay files. I could possibly code something in PHP to add autoplay functionality and hide the controls; I don't think it would be too hard to do.

20141123164524%21ShulkIcon%28SSB4-U%29.png
TheSilentHero - Smash! — 15:03, 2 December 2015 (UTC)
When I try to view the file on my phone, it gives me an error (Unsupported video type or invalid file path). Does anyone else have this? It works fine on my laptop, though.



L5XdDIb.png
D3XUS - We fall because someone pushes us. We get up to push back.
Talk ♦ You get love for it, you get hate for it, you get nothing if you wait for it. - 16:51, 2 December 2015 (UTC)
That's another thing...Native support for mobile does not exist (.ogv isn't recognized by most mobile devices, while webm is).

Okay, so the only issue that you anticipate so far with .webm is autoplay? What is the file size like compared with .gif? (Too lazy/busy to check for myself) --Neumannz, The Dark Falcon 00:36, 3 December 2015 (UTC)


L5XdDIb.png
D3XUS - We fall because someone pushes us. We get up to push back.
Talk ♦ You get love for it, you get hate for it, you get nothing if you wait for it. - 15:22, 3 December 2015 (UTC)
Here is a visual comparison between the two. A size difference can be seen here (95% size difference with significant visual quality improvement).


L5XdDIb.png
D3XUS - We fall because someone pushes us. We get up to push back.
Talk ♦ You get love for it, you get hate for it, you get nothing if you wait for it. - Keyblade KHREC.png~D3xus 03:40, 14 January 2018 (UTC)
Thanks to porplemontage (I don't know his/her Wiki username, sorry!), this is now a thing! Autoplay, looping, silent .ogv files can now be used on the Wiki as high quality videos. See this video for what I mean.

Template:Video

This lets us easily embed high quality, compressed videos in place of lossy gifs. I'm still tinkering with it, though. I have to figure out how to align stuff to the left/right (left/right parameter as if it were a file.) Thoughts?

The Video template is broken, also the previous example worked on Google Chrome. --Doggieboy9 (talk) 15:47, 16 January 2018 (UTC)