emacs/var/elfeed/db/data/70/701ca6c3b921931ed066ea81701ab0d09cc0333e
2022-01-03 12:49:32 -06:00

12 lines
2.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>Its the one feature the world has been waiting for.</p>
<p><a class="cimage" href="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/2021-11-09.png"><img alt="" class="alignnone size-full wp-image-87371" height="983" src="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/2021-11-09.png" width="840" /></a></p>
<p>Emacs has had support for xwidgets for years (i.e., being able to embed a webkit thingamabob inside Emacs), but its been a bit lacking in integration with the rest of Emacs. Over the last few months, Po Lu has brushed up the code considerably, so I thought Id see whether it would be possible to add support for &lt;video&gt; tags to eww (the very simpleminded Emacs browser).</p>
<p><a href="https://moving-pictures.ingebrigtsen.no/2021/08/17/no-home-movie/">And it was</a>! *gasp*</p>
<p><video controls="controls" loop="loop"><source src="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/video1.mp4" type="video/mp4" /></video></p>
<p>And Youtube!</p>
<p><video controls="controls" loop="loop"><source src="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/tube.mp4" type="video/mp4" /></video></p>
<p>Now, this is very experimental and comes with all sorts of caveats, because the WebKit library is… under heavy development (Googles got many busy bees), and at any given moment, theres a different swathe of bugs on different systems.</p>
<p>At the moment Im typing this, it probably works on slightly older Debians, for instance, but the version included in Debian/bullseye doesnt like actually <a href="https://bugs.webkit.org/show_bug.cgi?id=232860">showing video</a>. (And itll shut down your Emacs on some Debians, so use with caution; see etc/PROBLEMS.) It does work on Macos (this week), though, so the capture above is from my M1 Apple laptop.</p>
<p>Computers. Its all so complimacated. Like, heres me reading this blog post in eww:</p>
<p><video controls="controls" loop="loop"><source src="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/inception2.mp4" type="video/mp4" /></video></p>
<p><img alt="🤯" class="wp-smiley" src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f92f.png" style="height: 1em;" /></p>