Forráskód Böngészése

Merge pull request #174 from lucmuller/facebook-video

Facebook video
Amauri CHAMPEAUX 6 éve
szülő
commit
6e0f8fd0be
1 módosított fájl, 2 hozzáadás és 3 törlés
  1. 2 3
      tarteaucitron.services.js

+ 2 - 3
tarteaucitron.services.js

@@ -711,7 +711,7 @@ tarteaucitron.services.facebook = {
     "cookies": [],
     "cookies": [],
     "js": function () {
     "js": function () {
         "use strict";
         "use strict";
-        tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like'], '');
+        tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], '');
         tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
         tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
         if (tarteaucitron.isAjax === true) {
         if (tarteaucitron.isAjax === true) {
             if (typeof FB !== "undefined") {
             if (typeof FB !== "undefined") {
@@ -722,7 +722,7 @@ tarteaucitron.services.facebook = {
     "fallback": function () {
     "fallback": function () {
         "use strict";
         "use strict";
         var id = 'facebook';
         var id = 'facebook';
-        tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like'], tarteaucitron.engage(id));
+        tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], tarteaucitron.engage(id));
     }
     }
 };
 };
 
 
@@ -2264,4 +2264,3 @@ tarteaucitron.services.matomo = {
         tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
         tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
     }
     }
 };
 };
-