Skip to content

Search for phrases in your videos and play them inside your Anki cards

License

Notifications You must be signed in to change notification settings

abdnh/anki-video-search

Repository files navigation

Video Search

This Anki add-on allows you to search subbed videos in any configured folder for certain phrases and show the results in an embedded video player inside your cards.

The video player

To use, you first have to configure some folder in your computer as the media folder the add-on should search in. Go to Tools > Video Search > Configure media folder. If you add new files to the configured folder after this, you'll need to run the Rebuild database action.

Currently only WebM videos with WebVTT subs are supported.

The add-on works as a template filter. Try putting something like this in your card template:

{{video-search:Front}}

Where Front is a field containing the phrase you want to search for.

The player behavior can be customized with some options. E.g.

{{video-search autoplay=true autopause=false delay=2:Front}}
  • Explanation of the options:
    • autoplay: plays video automatically when player is shown. Default is false.
    • autopause: pauses the player after the subtitle where the target phrase is found. Default is true.
    • delay: Defines a number of seconds to play before the subtitle time where the target phrase is found.

Credit

This add-on (and many other add-ons) was commissioned by jergomenzo.

Changelog

See CHANGELOG.md for a list of changes.

Support & feature requests

Please post any questions, bug reports, or feature requests in the support page or the issue tracker.

If you want priority support for your feature/help request, I'm available for hire. You can get in touch from the aforementioned pages, via email or on Fiverr.

Support me

Consider supporting me if you like my work:

Buy Me A Coffee

I'm also available for freelance add-on development on Fiverr: