Skip to content

psychedel/discourse-component-youtubetimestamps

 
 

Repository files navigation

Youtube Timestamps component for Discourse

Converts timestamps within a post, to timestamp hyperlinks to the post's (otherwise the topic's) associated YouTube video.

Uses extract-timestamp for the heavy lifting.

See it in action here

Requirements

To prevent false positives (when the format of a timestamp is used for something that isn't timestamp related), the following format requirements apply:

  • Timestamps must be in a post that contains my notes
  • Timestamps must be in the format of timestamp - or timestamp —

If anyone can comment or pull request on how to make these requirements customisable, let me know.

Browser requirements:

Installation

  1. Go to https://discuss.bevry.me/admin/customize/themes
  2. Click Install button on the right
  3. Click From a git repository
  4. Enter https://github.com/bevry/discourse-component-youtubetimestamps
  5. Click Install button inside the modal

License

Unless stated otherwise all works are:

  • Copyright © 2020+ Benjamin Lupton

and licensed under:

About

Convert timetamps in your post, to a timestamped link to the post's (otherwise topic's) referenced youtube video

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 89.4%
  • JavaScript 8.1%
  • Shell 2.5%