💾 Archived View for dj-chase.com › documents › announcing-vtt-embed.t2t captured on 2024-08-18 at 18:10:37.

View Raw

More Information

⬅️ Previous capture (2024-02-05)

-=-=-=-=-=-=-

Announcing VTT Embed — Add Captions To Embedded YouTube Videos (And Others)
en

I frequently want to embed external videos at work,
but can’t because they’re uncaptioned or only have auto-captions.
I also occasionally want to embed one on my site,
but don’t because I don’t want to serve JavaScript or trackers.
So, I created a CGI script to embed external videos using HTML’s native
%!html: ``<video>``
%!gmi: <video>
element.

%!html: ''<del>''
%!html: [It’s currently on Tildegit https://tildegit.org/u9000/vtt-embed]
%!gmi: It’s currently on Tildegit
while Sourcehut is still recovering from the
%!html: [Sourcehut–Codeberg DDoS (Distributed Denial of Service) attack https://web.archive.org/web/20240112173110/https://sourcehut.org/],
%!gmi: Sourcehut–Codeberg DDoS (Distributed Denial of Service) attack,
but you can still contribute even if you can’t make an account on Tildegit
(see
%!html: [CONTRIBUTING https://tildegit.org/u9000/vtt-embed/src/branch/master/CONTRIBUTING.md]).
%!html: ''</del>''
%!gmi: CONTRIBUTING). ^U
%!html: [It’s now on Sourcehut https://sr.ht/~u9000/vtt-embed/].
%!gmi: It’s now on Sourcehut.
I will keep both up though because Sourcehut’s email-based workflow can pretty easily accommodate pull requests using ``git request-pull``,
so there’s no reason not to provide that as an option.
%!gmi: [VTT Embed on Tildegit https://tildegit.org/u9000/vtt-embed]
%!gmi: [Sourcehut-Codeberg DDoS attack https://web.archive.org/web/20240112173110/https://sourcehut.org/]
%!gmi: [VTT Embed on Sourcehut https://sr.ht/~u9000/vtt-embed/]

I’m pretty exited about this one because I think it’ll actually be useful for people.
At the very least,
I will definitely get use out of it.
It’s also nice because I got the project done in a week and it’s already version 1.0.
The only other addition I can think of is making a PHP version if there’s enough demand.

I have a
%!html: [hosted instance ../cgi-bin/vtt-embed.sh]
%!gmi: hosted instance
if you can’t host your own.
If you can,
though,
that would be appreciated.
You can
%!html: ''<a href="matrix:r/vtt-embed:matrix.org?action=join" title="#vtt-embed:matrix.org">join the Matrix room</a>''
%!gmi: join the Matrix room
if you need any support or have any questions.
There is also a
%!html: [demo ../unlisted/vtt-embed-demo.gmi]
%!gmi: demo
if you’d like to see it in action.

%!gmi: '''
%!gmi: => https://dj-chase.com/cgi-bin/vtt-embed.sh Hosted instance
%!gmi: => matrix:r/vtt-embed:matrix.org?action=join Join VTT Embed on Matrix (#vtt-embed:riot.firechicken.net)
%!gmi: => https://dj-chase.com/unlisted/vtt-embed-demo.gmi VTT Embed demo
%!gmi: '''