DominikPieper / obsidian-ReadItLater

MIT License
450 stars 35 forks source link

I get an error when trying to save something on YouTube #166

Closed Medullitus closed 2 months ago

Medullitus commented 3 months ago

Please check that this issue hasn't been reported before.

Expected Behavior

Being able to save content from YouTube without issues.

Current behaviour

"Uncaught (in promise) TypeError: Cannot read properties of null (reading 'querySelector') at ti.parseSchema (plugin:obsidian-read-it-later:59:20327) at async ti.prepareNote (plugin:obsidian-read-it-later:59:17367) at async Rt.processClipboard (plugin:obsidian-read-it-later:146:2921) at async Object.callback (plugin:obsidian-read-it-later:146:2433) at async te.handleCommand (plugin:obsidian-advanced-uri:10:593) index.html:1"

"[Deprecation] Custom state pseudo classes are changing from ":--webkit-scrollbar" to ":state(webkit-scrollbar)" soon. See more here: https://github.com/w3c/csswg-drafts/issues/4805"

Steps to reproduce

Thx

Which Operating Systems are you using?

Obsidian Version

1.6.7

Plugin Version

0.5.0

Checks

Possible solution

No response

adamluckdev commented 3 months ago

Can you provide an URL of video you tried to save?

Medullitus commented 3 months ago

All YouTube videos. For example: https://www.youtube.com/watch?v=PIT_LlERqe8

I also use Obsidian Web Clipper firefox plugin for your plugin. If the issue is related to that plugin, I can post about it.

https://addons.mozilla.org/tr/firefox/addon/reload-motive-haunt-turf5-excu/

Medullitus commented 3 months ago

CORRECTION: I was able to add the YouTube link below. I really don't understand what the issue is

https://youtu.be/t99KH0TR-J4?si=hKlFShP_dAYRslV8

adamluckdev commented 2 months ago

Thanks for the report, issue was fixed #167.