@internetstiftelsen/styleguide 5.0.14-beta.0.11 → 5.0.14-beta.0.13
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.
|
@@ -85,8 +85,6 @@ function createCover(el) {
|
|
|
85
85
|
destroyConsentWarning(el);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
loadYoutubeAPI();
|
|
89
|
-
|
|
90
88
|
if (el.getElementsByTagName('img').length) {
|
|
91
89
|
return;
|
|
92
90
|
}
|
|
@@ -149,6 +147,7 @@ function delegateClick(e) {
|
|
|
149
147
|
|
|
150
148
|
if (!el.youtube) {
|
|
151
149
|
setupYoutubePlayer(el);
|
|
150
|
+
loadYoutubeAPI();
|
|
152
151
|
|
|
153
152
|
return;
|
|
154
153
|
}
|
package/package.json
CHANGED
package/src/assets/js/youtube.js
CHANGED
|
@@ -70,8 +70,6 @@ function createCover(el) {
|
|
|
70
70
|
destroyConsentWarning(el);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
loadYoutubeAPI();
|
|
74
|
-
|
|
75
73
|
if (el.getElementsByTagName('img').length) {
|
|
76
74
|
return;
|
|
77
75
|
}
|
|
@@ -132,6 +130,7 @@ function delegateClick(e) {
|
|
|
132
130
|
|
|
133
131
|
if (!el.youtube) {
|
|
134
132
|
setupYoutubePlayer(el);
|
|
133
|
+
loadYoutubeAPI();
|
|
135
134
|
|
|
136
135
|
return;
|
|
137
136
|
}
|