Add Youtube API service
This commit is contained in:
parent
f9f33fc521
commit
780b651689
|
|
@ -2698,3 +2698,17 @@ tarteaucitron.services.getquanty = {
|
|||
tarteaucitron.addScript('https://get.smart-data-systems.com/track?site_id=' + tarteaucitron.user.getguanty);
|
||||
}
|
||||
};
|
||||
|
||||
// youtubeapi
|
||||
tarteaucitron.services.youtubeapi = {
|
||||
"key": "youtubeapi",
|
||||
"type": "video",
|
||||
"name": "Youtube (Js API)",
|
||||
"uri": "https://policies.google.com/privacy/",
|
||||
"needConsent": true,
|
||||
"cookies": [],
|
||||
"js": function () {
|
||||
"use strict";
|
||||
tarteaucitron.addScript('https://www.youtube.com/player_api');
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue