-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Expand file tree
/
Copy pathvalidator-amp-brid-player.protoascii
More file actions
120 lines (120 loc) · 3.02 KB
/
validator-amp-brid-player.protoascii
File metadata and controls
120 lines (120 loc) · 3.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
tags: { # amp-brid-player
html_format: AMP
tag_name: "SCRIPT"
extension_spec: {
name: "amp-brid-player"
version: "0.1"
version: "latest"
requires_usage: EXEMPTED
deprecated_allow_duplicates: true
}
attr_lists: "common-extension-attrs"
}
tags: { # <amp-brid-player>
html_format: AMP
tag_name: "AMP-BRID-PLAYER"
requires_extension: "amp-brid-player"
attrs: { name: "autoplay" }
attrs: {
name: "data-dynamic"
value_regex: "[a-z]+"
}
attrs: {
name: "data-outstream"
mandatory_oneof: "['data-carousel', 'data-outstream', 'data-playlist', 'data-video']"
value_regex: "[0-9]+"
}
attrs: {
name: "data-partner"
mandatory: true
value_regex: "[0-9]+"
}
attrs: {
name: "data-player"
mandatory: true
value_regex: "[0-9]+"
}
attrs: {
name: "data-playlist"
mandatory_oneof: "['data-carousel', 'data-outstream', 'data-playlist', 'data-video']"
value_regex: ".+"
}
attrs: {
name: "data-video"
mandatory_oneof: "['data-carousel', 'data-outstream', 'data-playlist', 'data-video']"
value_regex: "[0-9]+"
}
attrs: {
name: "data-carousel"
mandatory_oneof: "['data-carousel', 'data-outstream', 'data-playlist', 'data-video']"
value_regex: "[0-9]+"
}
attrs: {
name: "dock"
requires_extension: "amp-video-docking"
}
attr_lists: "extended-amp-global"
spec_url: "https://amp.dev/documentation/components/amp-brid-player/"
amp_layout: {
supported_layouts: FILL
supported_layouts: FIXED
supported_layouts: FIXED_HEIGHT
supported_layouts: FLEX_ITEM
supported_layouts: NODISPLAY
supported_layouts: RESPONSIVE
}
}
tags: { # <amp-target-video-player>
html_format: AMP
tag_name: "AMP-TARGET-VIDEO-PLAYER"
requires_extension: "amp-brid-player"
attrs: { name: "autoplay" }
attrs: {
name: "data-dynamic"
value_regex: "[a-z]+"
}
attrs: {
name: "data-outstream"
mandatory_oneof: "['data-carousel', 'data-outstream', 'data-playlist', 'data-video']"
value_regex: "[0-9]+"
}
attrs: {
name: "data-partner"
mandatory: true
value_regex: "[0-9]+"
}
attrs: {
name: "data-player"
mandatory: true
value_regex: "[0-9]+"
}
attrs: {
name: "data-playlist"
mandatory_oneof: "['data-carousel', 'data-outstream', 'data-playlist', 'data-video']"
value_regex: ".+"
}
attrs: {
name: "data-video"
mandatory_oneof: "['data-carousel', 'data-outstream', 'data-playlist', 'data-video']"
value_regex: "[0-9]+"
}
attrs: {
name: "data-carousel"
mandatory_oneof: "['data-carousel', 'data-outstream', 'data-playlist', 'data-video']"
value_regex: "[0-9]+"
}
attrs: {
name: "dock"
requires_extension: "amp-video-docking"
}
attr_lists: "extended-amp-global"
spec_url: "https://amp.dev/documentation/components/amp-brid-player/"
amp_layout: {
supported_layouts: FILL
supported_layouts: FIXED
supported_layouts: FIXED_HEIGHT
supported_layouts: FLEX_ITEM
supported_layouts: NODISPLAY
supported_layouts: RESPONSIVE
}
}