{ "schemaVersion": "0.1.0", "name": "YouTube Video", "behavior": "create", "noteContentFormat": "{{content}}\n", "properties": [ { "name": "title", "value": "{{schema:@VideoObject:name}}", "type": "text" }, { "name": "author", "value": "{{schema:@VideoObject:author|split:\\\", \\\"|wikilink|join}}", "type": "multitext" }, { "name": "date published", "value": "{{schema:@VideoObject:uploadDate|date:\\\"YYYY-MM-DD\\\"}}", "type": "date" }, { "name": "date saved", "value": "{{date}}", "type": "date" }, { "name": "thumbnail", "value": "{{schema:@VideoObject:thumbnailUrl|first}}", "type": "text" }, { "name": "duration", "value": "{{selector:ytd-player .ytp-time-duration|split:\\\":\\\"|slice:-3,-2|first|replace:\\\"[]\\\":\\\"0\\\"}}h {{selector:ytd-player .ytp-time-duration|split:\\\":\\\"|slice:-2,-1|first}}m", "type": "text" }, { "name": "description", "value": "{{schema:@VideoObject:description}}", "type": "text" }, { "name": "tags", "value": "clippings, youtube", "type": "multitext" }, { "name": "source", "value": "{{url}}", "type": "text" }, { "name": "type", "value": "clipping", "type": "text" } ], "triggers": [ "https://youtube.com" ], "noteNameFormat": "{{title}}", "path": "Collections/Clippings" }