Property talk:P1651

From Wikidata
Jump to navigation Jump to search

Documentation

YouTube video ID
identifier of a video on YouTube; for channels use P2397; for playlists use P4300
DescriptionIdentifier of a video on YouTube
RepresentsYouTube (Q866), YouTuber (Q17125263)
Data typeExternal identifier
Domain
According to this template: YouTube videos
According to statements in the property:
video (Q34508), film (Q11424), episode (Q1983062), television station (Q1616075), speech (Q861911), extended play (Q169930), event (Q1656682), symphony (Q9734), trailer (Q622550), musical composition (Q207628), cover version (Q155171), work (Q386724) and music video (Q193977)
When possible, data should only be stored as statements
Allowed values[-_0-9A-Za-z]{11} (64-bit int base64 encoded)
ExampleMichael Jackson's Thriller (Q1855666)sOnqjkJTMaA
Formatter URLhttps://www.youtube.com/watch?v=$1
Embed URLhttps://www.youtube.com/embed/$1
Tracking: sameno label (Q32085174)
Tracking: differencesno label (Q22158808)
Tracking: usageno label (Q22158809)
Tracking: local yes, WD nono label (Q22158826)
See alsopublication date (P577), director (P57), YouTube channel ID (P2397), video (P10), YouTube playlist ID (P4300)
Lists
Proposal discussionProperty proposal/Archive/28#P1651
Current uses17,214
Search for values
[create] Create a translatable help page (preferably in English) for this property to be included here
Type “video (Q34508), film (Q11424), episode (Q1983062), television station (Q1616075), speech (Q861911), extended play (Q169930), event (Q1656682), symphony (Q9734), trailer (Q622550), musical composition (Q207628), cover version (Q155171), work (Q386724), music video (Q193977): element must contain property “instance of (P31)” with classes “video (Q34508), film (Q11424), episode (Q1983062), television station (Q1616075), speech (Q861911), extended play (Q169930), event (Q1656682), symphony (Q9734), trailer (Q622550), musical composition (Q207628), cover version (Q155171), work (Q386724), music video (Q193977)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P1651#Type Q34508, Q11424, Q1983062, Q1616075, Q861911, Q169930, Q1656682, Q9734, Q622550, Q207628, Q155171, Q386724, Q193977, SPARQL, SPARQL (new)
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P1651#Unique value, SPARQL (every item), SPARQL (by value), SPARQL (new)
Format “[-_0-9A-Za-z]{11}”: value must be formatted using this pattern (PCRE syntax). (Help)
List of this constraint violations: Database reports/Constraint violations/P1651#Format, hourly updated report, SPARQL, SPARQL (new)

Scope[edit]

This property should be used in the same manner as video (P10). If a video is relevant to the item, it should be offered to the user, no matter where it is stored, or what its license is. We are linking to plenty of non-free web pages, after all. --Magnus Manske (talk) 09:18, 25 July 2015 (UTC)

More URL formatters?[edit]

So video can be embedded via iframe with the URL https://www.youtube.com/embed/$1. For the privacy conscious there's a "nocookie" variant (initially US gov website, now EU cookie law) https://www.youtube-nocookie.com/embed/$1. Dispenser (talk) 17:15, 21 January 2016 (UTC)

Property proposal for embed URL Dispenser (talk) 14:21, 23 March 2016 (UTC)
Done: embed URL template (P2720). Dispenser (talk) 16:52, 23 April 2016 (UTC)