@internetstiftelsen/styleguide 5.0.14-beta.0.10 → 5.0.14-beta.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -83,6 +83,7 @@ function createCover(el) {
|
|
|
83
83
|
createConsentWarning(el);
|
|
84
84
|
} else {
|
|
85
85
|
destroyConsentWarning(el);
|
|
86
|
+
loadYoutubeAPI();
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
if (el.getElementsByTagName('img').length) {
|
|
@@ -151,7 +152,6 @@ function delegateClick(e) {
|
|
|
151
152
|
return;
|
|
152
153
|
}
|
|
153
154
|
|
|
154
|
-
loadYoutubeAPI();
|
|
155
155
|
el.youtube.playVideo();
|
|
156
156
|
}
|
|
157
157
|
|
package/package.json
CHANGED
package/src/assets/js/youtube.js
CHANGED
|
@@ -68,6 +68,7 @@ function createCover(el) {
|
|
|
68
68
|
createConsentWarning(el);
|
|
69
69
|
} else {
|
|
70
70
|
destroyConsentWarning(el);
|
|
71
|
+
loadYoutubeAPI();
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
if (el.getElementsByTagName('img').length) {
|
|
@@ -134,7 +135,6 @@ function delegateClick(e) {
|
|
|
134
135
|
return;
|
|
135
136
|
}
|
|
136
137
|
|
|
137
|
-
loadYoutubeAPI();
|
|
138
138
|
el.youtube.playVideo();
|
|
139
139
|
}
|
|
140
140
|
|