eev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subtitles in HTML and links to indexes of videos


From: Eduardo Ochs
Subject: Subtitles in HTML and links to indexes of videos
Date: Mon, 5 Feb 2024 12:40:25 -0300

Hi all,

If you don't have these aliases on your ~/.emacs yet, please add them:

  ;; From: (find-eev "eev-tlinks.el" "1c")
  (defalias '1c  'find-1stclassvideos)
  (defalias '1cl 'find-1stclassvideo-links)

I cleaned up the function that gives the description of a video, and
now it shows links to the subtitles of the video in Lua and HTML when
they're available - the "LSubs" and the "HSubs" of the video - and to
the "index" of the video when it is not trivial...

For example, the video "2022tikz" has both subtitles and an index. In
the version of eev that I've just uploaded to the git repository - and
that will be in ELPA in a few hours - if you run `M-x 1c' and follow
this link,

  ;; (find-1stclassvideo-links "2022tikz")

You'll go to a temporary buffer with these contents:

  ;; (find-1stclassvideo-links "2022tikz")
  ;; (find-efunction 'find-1stclassvideo-links)
  ;; (find-1stclassvideos)

  ;; Title: Eev and TikZ, or: how to learn TikZ using a REPL
  ;; MP4:   http://anggtwu.net/eev-videos/2022-eev-tikz.mp4
  ;; YT:    http://www.youtube.com/watch?v=d7nIzpXcV6c
  ;; Page:  http://anggtwu.net/eev-tikz.html
  ;; HSubs: http://anggtwu.net/2022-eev-tikz.html#00:01
  ;; Comment: A way to learn TikZ using examples from the manual.
  ;; Date:    2022nov02
  ;; Length:  1:36:27
  ;;
  ;; Play:  (find-2022tikzvideo "00:00")
  ;; HSubs: (find-2022tikzhsubs "00:01")
  ;; LSubs: (find-2022tikzlsubs "00:01")
  ;; Index: (find-1stclassvideo-index "2022tikz")
  ;; Info:  (find-1stclassvideo-links "2022tikz")
  ;;        (find-1stclassvideo-def   "2022tikz")
  ;;
  ;; You have a local copy of this video.
  ;; The upstream copy of this video has subtitles.
  ;; If you don't have a local copy of its subtitles, or if you
  ;; want to update the local copy of the subtitles, run this:
  ;;        (find-1stclassvideo-psne "2022tikz")

  ;; See:
  ;; (find-video-links-intro "9. First-class videos")
  ;; (find-eev "eev-videolinks.el" "first-class-videos")
  ;; (find-eev "eev-videolinks.el" "second-class-videos")

Try the elisp hyperlinks in the middle, they're quite neat! =)

  Cheers =),
    Eduardo Ochs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]