obsidian-thumbnails
obsidian-thumbnails copied to clipboard
Plugin does not work without shortlink format
Case: youtu.be links work:
https://youtu.be/dQw4w9WgXcQ
But "normal" links do not work. (Return "Cannot find video):
https://m.youtube.com/watch?v=dQw4w9WgXcQ
https://youtube.com/watch?v=dQw4w9WgXcQ
Is there a chance that you can make non youtu.be links work so that it's possible to copy/paste from browser without having to manually rewrite the URL?
Thank you
@Meikul I think changing the pattern matching to the following
{match: 'youtube.com/watch?v=', idPattern: /v=([-\w\d]+)/}
should be general enough.