How to find out schema variables for youtube video?

The youtube-clipper.json file from kepano’s clipper-templates repo (https://github.com/kepano/clipper-templates), and also the obsidian-community repo (https://github.com/obsidian-community/web-clipper-templates), show variables such as:

  • {{schema:name}}
  • {{schema:author}}
  • {{schema:@VideoObject:name}}
  • {{schema:@VideoObject:author}}

which work, but I’m wondering how to find out which variables are available?

I tried running a youtube url (https://www.youtube.com/watch?v=W56STu1TU3Q) at https://validator.schema.org/ and all it shows are 2 ViewActions. But it doesn’t show any VideoObject.

I might have misunderstood, but can you get what you need from the menu for the current-page variables?

@anon45210282 Thanks! That helps me. I kept on overlooking that sentence in the docs.

Perhaps an “info” type of icon would be more intuitive.

However, I am still left with the question as to why https://validator.schema.org/ doesn’t pick up the VideoObject or BreadCrumbList schema objects that are shown in the obsidian extension variables list…

1 Like