Domain: teamtreehouse.com
Stories and comments across the archive that link to teamtreehouse.com.
Comments · 7
-
Re:Still autoplays silent video
-
Re:Big deal
Disabling autoplay has been in about:config for years now
Setting media.autoplay.default to 1 and media.autoplay.allow-muted to false in Firefox 65.0 did not block pure CSS motion JPEG or pure CSS motion PNG.
-
Video blocking test suite
I tried chrome://flags/#autoplay-policy in Chromium Version 68.0.3440.75 (Developer Build) built on Debian 9.5, running on Debian 9.5 (64-bit). It didn't block most of the test cases in my video blocking test suite. I guess that's because blocking all video playback is very much easier said than done.
- Block the <video> element, and sites will fall back to the less efficient <img> tag with GIF.
- Block <video> and GIF, and sites will fall back to using JavaScript to rotate JPEG or PNG images into a container.
- Block <video>, GIF, and script, and sites will fall back to using CSS sprites with stepped animations to rotate frames of a JPEG or PNG filmstrip into a container. -
CSS Sprite Sheet Animations with steps()
The "JPEG filmstrip" and "PNG filmstrip" methods are based on "CSS Sprite Sheet Animations with steps()" by Guil Hernandez.
-
Implementing motion JPEG in CSS or JS
I think Anonymous Coward #56004133's point is that just setting image.animation_mode to once would not stop animation driven by CSS or JavaScript that arranges the frames of an animation as CSS sprites.
Motion JPEG in JavaScript Arrange the frames as a filmstrip. Then add a script that uses setInterval or requestAnimationFrame to periodically change the background-position of an element that displays a sprited JPEG as its background. Motion JPEG in pure CSS Arrange the frames as a filmstrip, and use a keyframe set and stepped progression to animate the background-position property as described in "CSS Sprite Sheet Animations with steps()" by Guil Hernandez. Try it: Muybridge's galloping horse. -
Proof of learning
Where is the proof that the video was actually watched? It is quite easy to start a video and then do something other than watch it.
Watching a video is very different that learning. One can watch a video and not absorb the content. This is why most certifications have tests to find out how much learning has actually occurred. Even Team Treehouse has quizzes after their videos.
Giving certification for watching videos if ripe for abuse.
-
Re:Blink?
In a way, yes. Browser were already using something called a the 'shadow DOM', they are starting to make it available to web developers:
http://blog.teamtreehouse.com/working-with-shadow-domSo finally HTML5 is getting reusable components and templates, instead of more Javascript, finally some more declerative support:
http://html5-demos.appspot.com/static/webcomponents/index.html#1