diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 646159e..d03060e 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -77,7 +77,7 @@ tarteaucitron.services.helloasso = { height = x.getAttribute("height"), url = x.getAttribute("data-url"); - return ''; + return ''; }); }, "fallback": function () { @@ -106,7 +106,7 @@ tarteaucitron.services.podcloud = { height = x.getAttribute("height"), url = x.getAttribute("data-url"); - return ''; + return ''; }); }, "fallback": function () { @@ -136,7 +136,7 @@ tarteaucitron.services.facebookpost = { url = x.getAttribute("data-url"), appId = x.getAttribute("data-appid"); - return ''; + return ''; }); }, "fallback": function () { @@ -541,7 +541,7 @@ tarteaucitron.services.amazon = { var amazonId = x.getAttribute("amazonid"), productId = x.getAttribute("productid"), url = '//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=' + tarteaucitron.getLanguage().toUpperCase() + '&source=ss&ref=ss_til&ad_type=product_link&tracking_id=' + amazonId + '&marketplace=amazon®ion=' + tarteaucitron.getLanguage().toUpperCase() + '&placement=' + productId + '&asins=' + productId + '&show_border=true&link_opens_in_new_window=true', - iframe = ''; + iframe = ''; return iframe; }); @@ -569,7 +569,7 @@ tarteaucitron.services.calameo = { height = x.getAttribute("height"), url = '//v.calameo.com/?bkcode=' + id; - return ''; + return ''; }); }, "fallback": function () { @@ -777,7 +777,7 @@ tarteaucitron.services.artetv = { return ""; } - video_frame = ''; + video_frame = ''; return video_frame; }); }, @@ -828,7 +828,7 @@ tarteaucitron.services.dailymotion = { if (embed_type === undefined || !['video', 'playlist'].includes(embed_type) ) { embed_type = "video"; } - video_frame = ''; + video_frame = ''; return video_frame; }); }, @@ -866,7 +866,7 @@ tarteaucitron.services.datingaffiliation = { height = x.getAttribute("height"), url = 'http://www.tools-affil2.com/rotaban/ban.php?' + comfrom; - return ''; + return ''; }); }, "fallback": function () { @@ -982,7 +982,7 @@ tarteaucitron.services.deezer = { tracklist = "true"; } params = 'tracklist=' + tracklist + '&radius=' + radius; - deezer_frame = ''; + deezer_frame = ''; return deezer_frame; }); }, @@ -1659,8 +1659,7 @@ tarteaucitron.services.googlemapssearch = { query = escape(x.getAttribute("data-search")), key = x.getAttribute("data-api-key"); - // return ''; - return ' ' + return ' ' }); }, "fallback": function () { @@ -1689,7 +1688,7 @@ tarteaucitron.services.googlemapsembed = { height = tarteaucitron.getElemHeight(x), url = x.getAttribute("data-url"); - return ''; + return ''; }); }, "fallback": function () { @@ -1819,7 +1818,7 @@ tarteaucitron.services.instagram = { } else { frame_height += '"" '; } - post_frame = ''; + post_frame = ''; return post_frame; }); }, @@ -2065,7 +2064,7 @@ tarteaucitron.services.prezi = { height = x.getAttribute("height"), url = 'https://prezi.com/embed/' + id + '/?bgcolor=ffffff&lock_to_path=0&autoplay=0&autohide_ctrls=0'; - return ''; + return ''; }); }, "fallback": function () { @@ -2289,7 +2288,7 @@ tarteaucitron.services.slideshare = { height = x.getAttribute("height"), url = '//www.slideshare.net/slideshow/embed_code/' + id; - return ''; + return ''; }); }, "fallback": function () { @@ -2345,7 +2344,7 @@ tarteaucitron.services.soundcloud = { if (visual && visual.length > 0) qs += '&visual=' + visual; if (artwork && artwork.length > 0) qs += '&show_artwork=' + artwork; - return ''; + return ''; }); }, fallback: function () { @@ -2388,7 +2387,7 @@ tarteaucitron.services.spotify = { } else { frame_height += '"" '; } - spotify_frame = ''; + spotify_frame = ''; return spotify_frame; }); }, @@ -2457,7 +2456,7 @@ tarteaucitron.services.timelinejs = { start_zoom = x.getAttribute("start_zoom"), url = '//cdn.knightlab.com/libs/timeline/latest/embed/index.html?source=' + spreadsheet_id + '&font=' + font + '&maptype=' + map + '&lang=' + lang + '&start_at_end=' + start_at_end + '&hash_bookmark=' + hash_bookmark + '&start_at_slide=' + start_at_slide + '&start_zoom_adjust=' + start_zoom + '&height=' + height; - return ''; + return ''; }); }, "fallback": function () { @@ -2825,7 +2824,7 @@ tarteaucitron.services.vimeo = { video_qs = ""; } - video_frame = ''; + video_frame = ''; return video_frame; }); @@ -3148,7 +3147,7 @@ tarteaucitron.services.youtube = { } else { frame_height += '"" '; } - video_frame = ''; + video_frame = ''; return video_frame; }); }, @@ -3195,7 +3194,7 @@ tarteaucitron.services.youtubeplaylist = { } else { frame_height += '"" '; } - video_frame = ''; + video_frame = ''; return video_frame; }); }, @@ -3350,7 +3349,7 @@ tarteaucitron.services.issuu = { if (issuu_id.match(/\d+\/\d+/)) { issuu_embed = '#' + issuu_id; } else if (issuu_id.match(/d=(.*)&u=(.*)/)) { issuu_embed = '?' + issuu_id; } - issuu_frame = ''; + issuu_frame = ''; return issuu_frame; }); @@ -3640,16 +3639,6 @@ tarteaucitron.services.bingads = { }; //Matterport -/* -SERVICE INIT - (tarteaucitron.job = tarteaucitron.job || []).push('matterport'); - -HTML TAG -
- -DELETE IFRAME - ' - */ tarteaucitron.services.matterport = { "key": "matterport", "type": "other", @@ -3685,7 +3674,7 @@ tarteaucitron.services.matterport = { return ""; } - matterport_frame = ''; + matterport_frame = ''; return matterport_frame; }); },