Snakes In The Ball Pit > Announcements

[video] tag added, for GIFVs

(1/2) > >>

Lemon:
Another feature from something Jack Chick noticed.

So Imgur is now supporting GIFV1, which isn't really a file format. It's actually just a way to to use small video clips (webm, ogg or mp4) instead of a .gif file because the file size is smaller and the resolution is better. So it's just a more performant way of doing what a GIF does.

You can now do this on ballp.it, using the video tag. Used the same way

[video]http://i.imgur.com/YfPjduY.webm[/video]

--- End code ---
PRODUCES:


The video tag wants to act like an img tag. So it'll follow regular paragraph rules, size automatically, and provide a little bit of margin around itself. So multiple videos will work like so:


[video]http://i.imgur.com/MVoW97w.webm[/video] [video]http://i.imgur.com/4vaNbR4.webm[/video]
[video]http://i.imgur.com/bFCPj4P.webm[/video]

--- End code ---
PRODUCES:



All videos added this way have the following attributes:

* autoplay
* loop
* controls
* mutedI gave the videos "autoplay" and "loop" attributes to maintain the effect that a normal animated GIF has2. If you want to make the argument that these shouldn't autoplay and/or loop, I'm willing to have that discussion. controls and muted are non-negotiable however.

To be clear, this is the method for putting videos in your post the way you would do an image. YouTube and Vimeo videos are still handled with their respective tags. The URL inside should be an actual video file (.webm, .ogv, or .mp4 - .avi, .mkv and .flv may or may not work depending)

Should I change the tag to gifv instead?

1. 4chan as well, but "Let's support something because 4chan does it" is not a good policy.
2. (the effect of being annoying)

crow:
Hey, I'm having trouble posting .gifv files, it just has a loading box and no video.  Check this out

Emperor Jack Chick:
Hey Crow, I checked out that image and it looks like it is actually a webm file that is being interpolated as a gifv. If you change the suffix to webm it works.

crow:
Hey Crow, I checked out that image and it looks like it is actually a webm file that is being interpolated as a gifv. If you change the suffix to webm it works.
jack chick, February 25, 2015, 12:55:11 am
--- End quote ---
Thanks

crow:
Hi, I'm trying to post just a webm, and I keep getting an error saying that the post is blank.  Am I doing something wrong?

Navigation

[0] Message Index

[#] Next page

Go to full version