Steps to reproduce
Very rarely, Obsidian web clipper seems not to work on certain youtube pages. In these cases, when I click the web clipper icon, I get a popup message saying “Unable to initialize page content: e.description is undefined”. Some example videos where I get the error are:
Did you follow the troubleshooting guide?
Yes.
The error does not seem related to any particular template, as I tried deleting all the content of my default youtube template and the error still pops up. Indeed, the error popup prevents me from even attempting to change the template I’m using.
For completeness I also tried setting web clipper to save to the Obsidian Sandbox and verified that other videos can successfully save there, but not the ones above, thus reproducing the error. However I don’t think it’s related to the Obsidian vault as the bug gets triggered on the browser side.
Expected result
I expect the web clipper to successfully save the video to the specified vault, as it does for most youtube videos.
Actual result
I get a popup message saying “Unable to initialize page content: e.description is undefined”. The usual web clipper preview is not displayed and there is no option to change templates.
Environment
SYSTEM INFO:
Obsidian version: v1.7.7
Installer version: v1.4.13
Operating system: Windows 10 Pro for Workstations 10.0.19045
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 2
Restricted mode: on