12 lines
2.2 KiB
Plaintext
12 lines
2.2 KiB
Plaintext
<p>It’s 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 it’s 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 I’d see whether it would be possible to add support for <video> 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 (Google’s got many busy bees), and at any given moment, there’s a different swathe of bugs on different systems.</p>
|
||
<p>At the moment I’m typing this, it probably works on slightly older Debians, for instance, but the version included in Debian/bullseye doesn’t like actually <a href="https://bugs.webkit.org/show_bug.cgi?id=232860">showing video</a>. (And it’ll 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. It’s all so complimacated. Like, here’s 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> |