@internetstiftelsen/styleguide 5.0.14-beta.0.8 → 5.0.14-beta.0.9
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,7 +83,6 @@ function createCover(el) {
|
|
|
83
83
|
createConsentWarning(el);
|
|
84
84
|
} else {
|
|
85
85
|
destroyConsentWarning(el);
|
|
86
|
-
loadYoutubeAPI();
|
|
87
86
|
}
|
|
88
87
|
|
|
89
88
|
if (el.getElementsByTagName('img').length) {
|
|
@@ -147,6 +146,7 @@ function delegateClick(e) {
|
|
|
147
146
|
}
|
|
148
147
|
|
|
149
148
|
if (!el.youtube) {
|
|
149
|
+
loadYoutubeAPI();
|
|
150
150
|
setupYoutubePlayer(el);
|
|
151
151
|
|
|
152
152
|
return;
|
package/package.json
CHANGED
package/src/assets/js/youtube.js
CHANGED
|
@@ -68,7 +68,6 @@ function createCover(el) {
|
|
|
68
68
|
createConsentWarning(el);
|
|
69
69
|
} else {
|
|
70
70
|
destroyConsentWarning(el);
|
|
71
|
-
loadYoutubeAPI();
|
|
72
71
|
}
|
|
73
72
|
|
|
74
73
|
if (el.getElementsByTagName('img').length) {
|
|
@@ -130,6 +129,7 @@ function delegateClick(e) {
|
|
|
130
129
|
}
|
|
131
130
|
|
|
132
131
|
if (!el.youtube) {
|
|
132
|
+
loadYoutubeAPI();
|
|
133
133
|
setupYoutubePlayer(el);
|
|
134
134
|
|
|
135
135
|
return;
|