|
@@ -234,9 +234,10 @@ tarteaucitron.services.helloasso = {
|
|
var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'HelloAsso iframe'),
|
|
var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'HelloAsso iframe'),
|
|
width = x.getAttribute("width"),
|
|
width = x.getAttribute("width"),
|
|
height = x.getAttribute("height"),
|
|
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 () {
|
|
"fallback": function () {
|