|
@@ -15,9 +15,10 @@ tarteaucitron.services.iframe = {
|
|
|
var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title")),
|
|
|
width = x.getAttribute("width"),
|
|
|
height = x.getAttribute("height"),
|
|
|
+ allowfullscreen = x.getAttribute("allowfullscreen"),
|
|
|
url = x.getAttribute("data-url");
|
|
|
|
|
|
- return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
|
|
|
+ return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
|
|
});
|
|
|
},
|
|
|
"fallback": function () {
|
|
@@ -31,6 +32,70 @@ tarteaucitron.services.iframe = {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+
|
|
|
+// elfsight
|
|
|
+tarteaucitron.services.elfsight = {
|
|
|
+ "key": "elfsight",
|
|
|
+ "type": "support",
|
|
|
+ "name": "Elfsight",
|
|
|
+ "uri": "https://elfsight.com/privacy-policy/",
|
|
|
+ "needConsent": true,
|
|
|
+ "cookies": ['__cfduid', '_p_hfp_client_id', 'session_id'],
|
|
|
+ "js": function () {
|
|
|
+ "use strict";
|
|
|
+
|
|
|
+ tarteaucitron.addScript('https://apps.elfsight.com/p/platform.js');
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
+// plezi
|
|
|
+tarteaucitron.services.plezi = {
|
|
|
+ "key": "plezi",
|
|
|
+ "type": "analytic",
|
|
|
+ "name": "Plezi",
|
|
|
+ "uri": "https://www.plezi.co/fr/mentions-legales/",
|
|
|
+ "needConsent": true,
|
|
|
+ "cookies": [],
|
|
|
+ "js": function () {
|
|
|
+ "use strict";
|
|
|
+
|
|
|
+ if (tarteaucitron.user.pleziTenant === undefined || tarteaucitron.user.pleziTw === undefined) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ tarteaucitron.addScript('https://app.plezi.co/scripts/ossleads_analytics.js?tenant=' + tarteaucitron.user.pleziTenant + '&tw=' + tarteaucitron.user.pleziTw);
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+// smartsupp
|
|
|
+tarteaucitron.services.smartsupp = {
|
|
|
+ "key": "smartsupp",
|
|
|
+ "type": "support",
|
|
|
+ "name": "Smartsupp",
|
|
|
+ "uri": "https://www.smartsupp.com/help/privacy/",
|
|
|
+ "needConsent": true,
|
|
|
+ "cookies": ['ssupp.vid', 'ssupp.visits', 'AWSALB', 'AWSALBCORS'],
|
|
|
+ "js": function () {
|
|
|
+ "use strict";
|
|
|
+
|
|
|
+ if (tarteaucitron.user.smartsuppKey === undefined) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ window._smartsupp = window._smartsupp || {};
|
|
|
+ window._smartsupp.key = tarteaucitron.user.smartsuppKey;
|
|
|
+ window.smartsupp = function() {
|
|
|
+ window.smartsupp._.push(arguments)
|
|
|
+ };
|
|
|
+ window.smartsupp._ = [];
|
|
|
+
|
|
|
+ tarteaucitron.addScript('https://www.smartsuppchat.com/loader.js');
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// sharpspring
|
|
|
tarteaucitron.services.sharpspring = {
|
|
|
"key": "sharpspring",
|
|
@@ -155,7 +220,7 @@ tarteaucitron.services.xandrsegment = {
|
|
|
tarteaucitron.fallback(['xandrsegment-canvas'], function (x) {
|
|
|
var uniqId = '_' + Math.random().toString(36).substr(2, 9);
|
|
|
uniqIds.push(uniqId);
|
|
|
- return '<div id="' + uniqId + '" xandrsegmentAdd="' + (x.getAttribute('xandrsegmentAdd') ?? '') + '" xandrsegmentAddCode="' + (x.getAttribute('xandrsegmentAddCode') ?? '') + '" xandrsegmentRemove="' + (x.getAttribute('xandrsegmentRemove') ?? '') + '" xandrsegmentRemoveCode="' + (x.getAttribute('xandrsegmentRemoveCode') ?? '') + '" xandrsegmentMember="' + (x.getAttribute('xandrsegmentMember') ?? '') + '" xandrsegmentRedir="' + (x.getAttribute('xandrsegmentRedir') ?? '') + '" xandrsegmentValue="' + (x.getAttribute('xandrsegmentValue') ?? '') + '" xandrsegmentOther="' + (x.getAttribute('xandrsegmentOther') ?? '') + '"></div>';
|
|
|
+ return '<div id="' + uniqId + '" xandrsegmentAdd="' + x.getAttribute('xandrsegmentAdd') + '" xandrsegmentAddCode="' + x.getAttribute('xandrsegmentAddCode') + '" xandrsegmentRemove="' + x.getAttribute('xandrsegmentRemove') + '" xandrsegmentRemoveCode="' + x.getAttribute('xandrsegmentRemoveCode') + '" xandrsegmentMember="' + x.getAttribute('xandrsegmentMember') + '" xandrsegmentRedir="' + x.getAttribute('xandrsegmentRedir') + '" xandrsegmentValue="' + x.getAttribute('xandrsegmentValue') + '" xandrsegmentOther="' + x.getAttribute('xandrsegmentOther') + '"></div>';
|
|
|
});
|
|
|
|
|
|
for (i = 0; i < uniqIds.length; i += 1) {
|
|
@@ -197,7 +262,7 @@ tarteaucitron.services.xandrconversion = {
|
|
|
tarteaucitron.fallback(['xandrconversion-canvas'], function (x) {
|
|
|
var uniqId = '_' + Math.random().toString(36).substr(2, 9);
|
|
|
uniqIds.push(uniqId);
|
|
|
- return '<div id="' + uniqId + '" xandrconversionId="' + (x.getAttribute('xandrconversionId') ?? '') + '" xandrconversionSeg="' + (x.getAttribute('xandrconversionSeg') ?? '') + '" xandrconversionOrderId="' + (x.getAttribute('xandrconversionOrderId') ?? '') + '" xandrconversionValue="' + (x.getAttribute('xandrconversionValue') ?? '') + '" xandrconversionRedir="' + (x.getAttribute('xandrconversionRedir') ?? '') + '" xandrconversionOther="' + (x.getAttribute('xandrconversionOther') ?? '') + '"></div>';
|
|
|
+ return '<div id="' + uniqId + '" xandrconversionId="' + x.getAttribute('xandrconversionId') + '" xandrconversionSeg="' + x.getAttribute('xandrconversionSeg') + '" xandrconversionOrderId="' + x.getAttribute('xandrconversionOrderId') + '" xandrconversionValue="' + x.getAttribute('xandrconversionValue') + '" xandrconversionRedir="' + x.getAttribute('xandrconversionRedir') + '" xandrconversionOther="' + x.getAttribute('xandrconversionOther') + '"></div>';
|
|
|
});
|
|
|
|
|
|
for (i = 0; i < uniqIds.length; i += 1) {
|
|
@@ -233,9 +298,10 @@ tarteaucitron.services.helloasso = {
|
|
|
var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'HelloAsso iframe'),
|
|
|
width = x.getAttribute("width"),
|
|
|
height = x.getAttribute("height"),
|
|
|
- url = x.getAttribute("data-url");
|
|
|
+ url = x.getAttribute("data-url"),
|
|
|
+ allowfullscreen = x.getAttribute("allowfullscreen");
|
|
|
|
|
|
- return '<iframe title="' + frame_title + '" id="haWidget" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency allowfullscreen></iframe>';
|
|
|
+ return '<iframe title="' + frame_title + '" id="haWidget" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
|
|
});
|
|
|
},
|
|
|
"fallback": function () {
|
|
@@ -263,9 +329,10 @@ tarteaucitron.services.podcloud = {
|
|
|
var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'podCloud iframe'),
|
|
|
width = x.getAttribute("width"),
|
|
|
height = x.getAttribute("height"),
|
|
|
- url = x.getAttribute("data-url");
|
|
|
+ url = x.getAttribute("data-url"),
|
|
|
+ allowfullscreen= x.getAttribute("allowfullscreen");
|
|
|
|
|
|
- return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency allowfullscreen></iframe>';
|
|
|
+ return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
|
|
});
|
|
|
},
|
|
|
"fallback": function () {
|
|
@@ -294,9 +361,10 @@ tarteaucitron.services.facebookpost = {
|
|
|
width = x.getAttribute("width"),
|
|
|
height = x.getAttribute("height"),
|
|
|
url = x.getAttribute("data-url"),
|
|
|
- appId = x.getAttribute("data-appid");
|
|
|
+ appId = x.getAttribute("data-appid"),
|
|
|
+ allowfullscreen = x.getAttribute("allowfullscreen");
|
|
|
|
|
|
- return '<iframe title="' + frame_title + '" src="https://www.facebook.com/plugins/post.php?href=' + encodeURIComponent(url) + '&width=' + width + '&show_text=false&appId=' + appId + '&height=' + height + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency allowfullscreen></iframe>';
|
|
|
+ return '<iframe title="' + frame_title + '" src="https://www.facebook.com/plugins/post.php?href=' + encodeURIComponent(url) + '&width=' + width + '&show_text=false&appId=' + appId + '&height=' + height + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
|
|
});
|
|
|
},
|
|
|
"fallback": function () {
|
|
@@ -729,9 +797,10 @@ tarteaucitron.services.calameo = {
|
|
|
id = x.getAttribute("data-id"),
|
|
|
width = x.getAttribute("width"),
|
|
|
height = x.getAttribute("height"),
|
|
|
- url = '//v.calameo.com/?bkcode=' + id;
|
|
|
+ url = '//v.calameo.com/?bkcode=' + id,
|
|
|
+ allowfullscreen = x.getAttribute("allowfullscreen");
|
|
|
|
|
|
- return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
|
|
|
+ return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
|
|
});
|
|
|
},
|
|
|
"fallback": function () {
|
|
@@ -934,13 +1003,14 @@ tarteaucitron.services.artetv = {
|
|
|
video_json = x.getAttribute("json"),
|
|
|
video_width = x.getAttribute("width"),
|
|
|
video_height = x.getAttribute("height"),
|
|
|
- video_frame;
|
|
|
+ video_frame,
|
|
|
+ video_allowfullscreen = x.getAttribute("allowfullscreen");
|
|
|
|
|
|
if (video_json === undefined) {
|
|
|
return "";
|
|
|
}
|
|
|
|
|
|
- video_frame = '<iframe title="' + frame_title + '" style="transition-duration: 0; transition-property: no; margin: 0 auto; position: relative; display: block; background-color: #000000;" src="https://www.arte.tv/player/v5/index.php?json_url=' + video_json + '" width="' + video_width + '" height="' + video_height + '" scrolling="no" allowfullscreen="allowfullscreen"></iframe>';
|
|
|
+ video_frame = '<iframe title="' + frame_title + '" style="transition-duration: 0; transition-property: no; margin: 0 auto; position: relative; display: block; background-color: #000000;" src="https://www.arte.tv/player/v5/index.php?json_url=' + video_json + '" width="' + video_width + '" height="' + video_height + '" scrolling="no" ' + (video_allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
|
|
return video_frame;
|
|
|
});
|
|
|
},
|
|
@@ -974,6 +1044,7 @@ tarteaucitron.services.dailymotion = {
|
|
|
frame_height = 'height=',
|
|
|
video_frame,
|
|
|
embed_type = x.getAttribute("embedType"),
|
|
|
+ allowfullscreen = x.getAttribute("allowfullscreen"),
|
|
|
params = 'info=' + x.getAttribute("showinfo") + '&autoPlay=' + x.getAttribute("autoplay");
|
|
|
|
|
|
if (video_id === undefined) {
|
|
@@ -992,7 +1063,7 @@ tarteaucitron.services.dailymotion = {
|
|
|
if (embed_type === undefined || !['video', 'playlist'].includes(embed_type) ) {
|
|
|
embed_type = "video";
|
|
|
}
|
|
|
- video_frame = '<iframe title="' + frame_title + '" src="//www.dailymotion.com/embed/' + embed_type + '/' + video_id + '?' + params + '" ' + frame_width + frame_height + ' allowfullscreen></iframe>';
|
|
|
+ video_frame = '<iframe title="' + frame_title + '" src="//www.dailymotion.com/embed/' + embed_type + '/' + video_id + '?' + params + '" ' + frame_width + frame_height + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
|
|
return video_frame;
|
|
|
});
|
|
|
},
|
|
@@ -1120,6 +1191,7 @@ tarteaucitron.services.deezer = {
|
|
|
embed_type = x.getAttribute("embedType"),
|
|
|
radius = x.getAttribute("radius"),
|
|
|
tracklist = x.getAttribute("tracklist"),
|
|
|
+ allowfullscreen = x.getAttribute("allowfullscreen"),
|
|
|
params;
|
|
|
|
|
|
if (deezer_id === undefined) {
|
|
@@ -1148,7 +1220,7 @@ tarteaucitron.services.deezer = {
|
|
|
tracklist = "true";
|
|
|
}
|
|
|
params = 'tracklist=' + tracklist + '&radius=' + radius;
|
|
|
- deezer_frame = '<iframe title="' + frame_title + '" src="//widget.deezer.com/widget/' + embed_theme + '/' + embed_type + '/' + deezer_id + '?' + params + '" ' + frame_width + frame_height + ' allowfullscreen></iframe>';
|
|
|
+ deezer_frame = '<iframe title="' + frame_title + '" src="//widget.deezer.com/widget/' + embed_theme + '/' + embed_type + '/' + deezer_id + '?' + params + '" ' + frame_width + frame_height + ' ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
|
|
return deezer_frame;
|
|
|
});
|
|
|
},
|
|
@@ -1261,7 +1333,7 @@ tarteaucitron.services.facebook = {
|
|
|
"name": "Facebook",
|
|
|
"uri": "https://www.facebook.com/policy.php",
|
|
|
"needConsent": true,
|
|
|
- "cookies": [],
|
|
|
+ "cookies": ['xs', 'sb', 'fr', 'datr', 'dpr', 'c_user'],
|
|
|
"js": function () {
|
|
|
"use strict";
|
|
|
tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], '');
|
|
@@ -1754,14 +1826,7 @@ tarteaucitron.services.gtag = {
|
|
|
* https://support.google.com/analytics/answer/7476333?hl=en
|
|
|
* https://developers.google.com/analytics/devguides/collection/gtagjs/cross-domain
|
|
|
*/
|
|
|
- gtag(
|
|
|
- 'config',
|
|
|
- tarteaucitron.user.gtagUa,
|
|
|
- { 'anonymize_ip': true },
|
|
|
- {linker: {
|
|
|
- domains: tarteaucitron.user.gtagCrossdomain,
|
|
|
- }},
|
|
|
- );
|
|
|
+ gtag('config',tarteaucitron.user.gtagUa,{ 'anonymize_ip': true },{linker: {domains: tarteaucitron.user.gtagCrossdomain,}});
|
|
|
} else {
|
|
|
gtag('config', tarteaucitron.user.gtagUa, { 'anonymize_ip': true });
|
|
|
}
|
|
@@ -2506,7 +2571,7 @@ tarteaucitron.services.soundcloud = {
|
|
|
type: 'video',
|
|
|
name: 'SoundCloud',
|
|
|
needConsent: true,
|
|
|
- cookies: ['sc_anonymous_id'],
|
|
|
+ cookies: ['sc_anonymous_id', 'sclocale'],
|
|
|
js: function () {
|
|
|
"use strict";
|
|
|
tarteaucitron.fallback(['soundcloud_player'], function (x) {
|
|
@@ -2891,6 +2956,7 @@ tarteaucitron.services.vimeo = {
|
|
|
frame_height = 'height=',
|
|
|
|
|
|
video_id = x.getAttribute("data-videoID") || x.getAttribute("videoID"),
|
|
|
+ video_allowfullscreen = x.getAttribute("data-allowfullscreen"),
|
|
|
video_autopause = x.getAttribute("data-autopause") || '',
|
|
|
video_autoplay = x.getAttribute("data-autoplay") || x.getAttribute("autoplay") || '',
|
|
|
video_background = x.getAttribute("data-background") || '',
|
|
@@ -3032,7 +3098,7 @@ tarteaucitron.services.vimeo = {
|
|
|
video_qs = "";
|
|
|
}
|
|
|
|
|
|
- video_frame = '<iframe title="' + frame_title + '" src="//player.vimeo.com/video/' + video_id + video_qs + '" ' + frame_width + frame_height + ' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
|
|
|
+ video_frame = '<iframe title="' + frame_title + '" src="//player.vimeo.com/video/' + video_id + video_qs + '" ' + frame_width + frame_height + (video_allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
|
|
|
|
|
return video_frame;
|
|
|
});
|
|
@@ -3087,7 +3153,7 @@ tarteaucitron.services.verizondottag = {
|
|
|
});
|
|
|
|
|
|
tarteaucitron.addScript('https://s.yimg.com/wi/ytc.js', '', function () {
|
|
|
- const items = window.dotq;
|
|
|
+ //const items = window.dotq;
|
|
|
window.dotq = [];
|
|
|
window.dotq.push = function (item) {
|
|
|
YAHOO.ywa.I13N.fireBeacon([item])
|
|
@@ -3193,6 +3259,10 @@ tarteaucitron.services.atinternet = {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if (tarteaucitron.user.atinternetAlreadyLoaded !== undefined) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
|
|
|
|
|
|
window.tag = new ATInternet.Tracker.Tag();
|
|
@@ -3216,6 +3286,8 @@ tarteaucitron.services.atinternet = {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ tarteaucitron.user.atinternetAlreadyLoaded = true;
|
|
|
+
|
|
|
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
|
|
|
|
|
|
window.tag = new ATInternet.Tracker.Tag();
|
|
@@ -3279,12 +3351,15 @@ tarteaucitron.services.youtube = {
|
|
|
tarteaucitron.fallback(['youtube_player'], function (x) {
|
|
|
var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Youtube iframe'),
|
|
|
video_id = x.getAttribute("videoID"),
|
|
|
+ srcdoc = x.getAttribute("srcdoc"),
|
|
|
+ loading = x.getAttribute("loading"),
|
|
|
video_width = x.getAttribute("width"),
|
|
|
frame_width = 'width=',
|
|
|
video_height = x.getAttribute("height"),
|
|
|
frame_height = 'height=',
|
|
|
video_frame,
|
|
|
- attrs = ["theme", "rel", "controls", "showinfo", "autoplay", "mute", "start"],
|
|
|
+ allowfullscreen = x.getAttribute("allowfullscreen"),
|
|
|
+ attrs = ["theme", "rel", "controls", "showinfo", "autoplay", "mute", "start", "loop"],
|
|
|
params = attrs.filter(function (a) {
|
|
|
return x.getAttribute(a) !== null;
|
|
|
}).map(function (a) {
|
|
@@ -3304,7 +3379,20 @@ tarteaucitron.services.youtube = {
|
|
|
} else {
|
|
|
frame_height += '"" ';
|
|
|
}
|
|
|
- video_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="//www.youtube-nocookie.com/embed/' + video_id + '?' + params + '" allowfullscreen></iframe>';
|
|
|
+
|
|
|
+ if (srcdoc !== undefined && srcdoc !== null && srcdoc !== "") {
|
|
|
+ srcdoc = 'srcdoc="' + srcdoc + '" ';
|
|
|
+ } else {
|
|
|
+ srcdoc = '';
|
|
|
+ }
|
|
|
+
|
|
|
+ if (loading !== undefined && loading !== null && loading !== "") {
|
|
|
+ loading = 'loading ';
|
|
|
+ } else {
|
|
|
+ loading = '';
|
|
|
+ }
|
|
|
+
|
|
|
+ video_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="//www.youtube-nocookie.com/embed/' + video_id + '?' + params + '"' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + ' ' + srcdoc + ' ' + loading + '></iframe>';
|
|
|
return video_frame;
|
|
|
});
|
|
|
},
|
|
@@ -3337,6 +3425,7 @@ tarteaucitron.services.youtubeplaylist = {
|
|
|
video_height = x.getAttribute("height"),
|
|
|
frame_height = 'height=',
|
|
|
video_frame,
|
|
|
+ allowfullscreen = x.getAttribute("allowfullscreen"),
|
|
|
params = 'theme=' + x.getAttribute("theme") + '&rel=' + x.getAttribute("rel") + '&controls=' + x.getAttribute("controls") + '&showinfo=' + x.getAttribute("showinfo") + '&autoplay=' + x.getAttribute("autoplay") + '&mute=' + x.getAttribute("mute");
|
|
|
|
|
|
if (playlist_id === undefined) {
|
|
@@ -3352,7 +3441,7 @@ tarteaucitron.services.youtubeplaylist = {
|
|
|
} else {
|
|
|
frame_height += '"" ';
|
|
|
}
|
|
|
- video_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="//www.youtube-nocookie.com/embed/videoseries?list=' + playlist_id + '&' + params + '" allowfullscreen></iframe>';
|
|
|
+ video_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="//www.youtube-nocookie.com/embed/videoseries?list=' + playlist_id + '&' + params + '"' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
|
|
return video_frame;
|
|
|
});
|
|
|
},
|
|
@@ -3815,6 +3904,7 @@ tarteaucitron.services.matterport = {
|
|
|
matterport_height = x.getAttribute("height"),
|
|
|
frame_height = 'height=',
|
|
|
matterport_parameters = x.getAttribute("parameters"),
|
|
|
+ matterport_allowfullscreen = x.getAttribute('allowfullscreen'),
|
|
|
matterport_frame;
|
|
|
|
|
|
if (matterport_id === undefined) {
|
|
@@ -3834,7 +3924,7 @@ tarteaucitron.services.matterport = {
|
|
|
return "";
|
|
|
}
|
|
|
|
|
|
- matterport_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="https://my.matterport.com/show/?m=' + matterport_id + '&utm_source=hit-content' + matterport_parameters + '" allowfullscreen="allowfullscreen"></iframe>';
|
|
|
+ matterport_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="https://my.matterport.com/show/?m=' + matterport_id + '&utm_source=hit-content' + matterport_parameters + '"' + (matterport_allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
|
|
|
return matterport_frame;
|
|
|
});
|
|
|
},
|
|
@@ -3930,6 +4020,10 @@ tarteaucitron.services.getquanty = {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if (tarteaucitron.user.getquantyAlreadyLoaded !== undefined) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&consent=1');
|
|
|
},
|
|
|
"fallback": function () {
|
|
@@ -3938,6 +4032,8 @@ tarteaucitron.services.getquanty = {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ tarteaucitron.user.getquantyAlreadyLoaded = true;
|
|
|
+
|
|
|
tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '¬rack=1');
|
|
|
}
|
|
|
};
|
|
@@ -3967,7 +4063,7 @@ tarteaucitron.services.youtubeapi = {
|
|
|
"key": "youtubeapi",
|
|
|
"type": "video",
|
|
|
"name": "Youtube (Js API)",
|
|
|
- "uri": "https://policies.google.com/privacy/",
|
|
|
+ "uri": "https://policies.google.com/privacy",
|
|
|
"needConsent": true,
|
|
|
"cookies": [],
|
|
|
"js": function () {
|