File: hsys-youtube.el.html
Load this library and then you can embed Action Buttons like
these to play segments of Youtube videos from any of your
buffers, activating these buttons with the Action Key.
All of these do the exact same thing:
<yt-play "WKwZHSbHmPg" "2:44">
<yt-play "WKwZHSbHmPg" "2m44s">
<yt-play "WKwZHSbHmPg" "164">
<yt-play "www.youtube.com/watch?v=WKwZHSbHmPg" "2m:44">
<yt-play "www.youtube.com/watch?v=WKwZHSbHmPg&start=30&end=40">
<yt-play "youtu.be/WKwZHSbHmPg&t=2m44s">
<yt-play "https://www.youtube.com/watch?v=WKwZHSbHmPg" "0h:2m:44s">
Add a third parameter to give the end/stop time:
<yt-play "WKwZHSbHmPg" "2m44s" "2m50s">
<yt-url "WKwZHSbHmPg" "2m44s" "2m50s">
Additional Action Button types include search:
<yt-search "hypertext hyperbole">
and summarizing all of the metadata info associated with a video:
<yt-info "WKwZHSbHmPg">
Defined variables (3)
hsys-youtube-end-format | Format string used to play a section of a Youtube video. |
hsys-youtube-start-format | Format string used to play a Youtube video from a certain point in time. |
hsys-youtube-url-prefix-regexp | Regexp matching the start of a Youtube url. |
Defined functions (15)
actypes::yt-info | (VIDEO-ID) |
actypes::yt-play | (VIDEO-ID &optional START-TIME-STRING END-TIME-STRING) |
actypes::yt-search | (SEARCH-TERM) |
actypes::yt-url | (VIDEO-ID &optional START-TIME-STRING END-TIME-STRING) |
hsys-youtube-end-url | (VIDEO-ID &optional START-TIME-STRING END-TIME-STRING) |
hsys-youtube-get-url | (VIDEO-ID &optional START-TIME-STRING END-TIME-STRING) |
hsys-youtube-get-url:help | (HBUT) |
hsys-youtube-info | (VIDEO-ID) |
hsys-youtube-play | (VIDEO-ID &optional START-TIME-STRING END-TIME-STRING) |
hsys-youtube-play:help | (HBUT) |
hsys-youtube-search | (SEARCH-TERM) |
hsys-youtube-search:help | (SEARCH-TERM) |
hsys-youtube-start-url | (VIDEO-ID &optional START-TIME-STRING) |
hsys-youtube-time-in-hms | (START-TIME-STRING) |
hsys-youtube-time-in-seconds | (START-TIME-STRING) |