<video src="blah" autoplay loop controls>
You could also maybe hide the controls, they can be distracting (you could always add an option to enable them): <video src="blah" autoplay loop>
EDIT: Thanks for fixing it!The commons reasons cited on 4chan are:
1. All videos with sound would be "screamers", where the audio would get really loud unexpectedly halfway through, as a simple troll.
2. 4chan is an _image_ board, not a video board.
3. the MPAA and other copyright holders would crush 4chan with DCMA takedown requests for audio.
I feel like (1) could be solved technically with auto-mute and/or a soundcloud-style visible meter, as well as the novelty eventually wearing off.
For (2), it seems that 4chan's main goal of ephemeral content/anonymity would overrule the historical precedent for content on the site (and already does, if /f/ is any indication). If it works for vine/snapchat, why not 4chan?
(3) though seems like the major issue, especially for +2 minute videos.
You haven't been on 4chan much, have you? I can promise you it would never get old. Anyway, what 4chan wants is basically better GIFs.
_And_ sound, as evidenced by anybody who posts links to youtube or soundcloud, e.g., /a/ or /mu/. Having such functionality directly in 4chan uploads would further the goal of anonymous ephemerality/content creation better than links to other sites. I can see your point if by "4chan" you mean "moot and site admins" due to the copyright concerns, but my feeling from other anons is that audio support would be awesome overall.
>You haven't been on 4chan much, have you?
If the novelty truly never wore off, every gif would still turn into cheetus after the first frame, and every link to youtube would still be Rick Astley.
Plus, think of your argument if we already had audio webms for their legitimate uses and had never known restriction. Would you give up audio on all webms just because of an occasional "screamer"? Would you give up all images just because some anons occasionally post shock pictures?
Or people who post images that have audiodata hidden in them in increasingly sophisticated and hard to detect ways. /v/, /a/ and /mu/ have semi-regular sounds threads. I'm certain people will find a way to embed sound in video files in ways that can't be detected and update the media extension to handle those. We will have sounds one way or another.
These examples aren't actually gone, you know? Less common, certainly, but these trolling-memes don't really die out until there's something new to replace their exact use-case.
Content-Type: video/webmWebP is larger than APNG [1] and is supported more widely according to the following table [2]. There is a way to add compatibility to older browser too [3]. Other than that, there are also Opera [4] and Chrome [5] extensions for APNG.
Update: Found a successful APNG kickstarter campaign, which lists some interesting APNG tools and libraries. [6]
Also just tested myself how the filesize compares for different file formats able to host animated content for this source image [7].
gif – 679,6 Kb
apng – 547,1 Kb
mp4 – 273,8 Kb
webp – 618,9 Kb
(sorry, have no webm converter here)---
[1] http://littlesvr.ca/apng/gif_apng_webp.html
[3] http://davidmz.github.io/apng-canvas/
[4] https://addons.opera.com/de/extensions/details/apng/?display...
[5] https://chrome.google.com/webstore/detail/apng/ehkepjiconegk...
[6] https://www.kickstarter.com/projects/374397522/apngasm-foss-...
[7] http://37.media.tumblr.com/70a88618cc58ac5ad670ab175f8a1419/...
I'd expect them to beat PNG with acceptable quality, since PNG's compression (gzip with some prefilters to make image data more gzippable) is the work of someone either limited by patents or not informed enough to make their own entropy coder.
Also try 'ffv1' in ffmpeg; it's lossless and will win every time.
Transcode a bunch of different-looking PNGs to a WebP losslessly, each pixel preserved exactly, and you'll see a byte savings in the neighborhood of 30%. Go lossy and much more savings, with the option of alpha transparency on lossy if you're into that.
It's not just efficiency, it's versatility that these formats bring to the table. Though the efficiency is compelling.