fix uri & frame url - issue #899

This commit is contained in:
Nicolas 2022-03-10 06:40:49 +01:00
parent 1a1a53f7e4
commit 9094b7ee21
1 changed files with 2 additions and 2 deletions

View File

@ -4866,14 +4866,14 @@ tarteaucitron.services.canalu = {
"key": "canalu", "key": "canalu",
"type": "video", "type": "video",
"name": "Canal-U.tv", "name": "Canal-U.tv",
"uri": "https://www.canal-u.tv/utilisation-des-cookies/", "uri": "https://www.canal-u.tv/conditions-generales-utilisations",
"needConsent": true, "needConsent": true,
"cookies": [], "cookies": [],
"js": function () { "js": function () {
"use strict"; "use strict";
tarteaucitron.fallback(['canalu_player'], function (x) { tarteaucitron.fallback(['canalu_player'], function (x) {
var video_title = tarteaucitron.fixSelfXSS(x.getAttribute("videoTitle")), var video_title = tarteaucitron.fixSelfXSS(x.getAttribute("videoTitle")),
frame_url = 'https://www.canal-u.tv/video/embed_code_plugin.1/' + video_title; frame_url = 'https://www.canal-u.tv/embed/' + video_title;
return '<div style="position:relative;padding-bottom:56.25%;padding-top:10px;height:0;overflow:hidden;">' + return '<div style="position:relative;padding-bottom:56.25%;padding-top:10px;height:0;overflow:hidden;">' +
'<iframe src="' + frame_url + '?width=100%&amp;height=100%" ' + '<iframe src="' + frame_url + '?width=100%&amp;height=100%" ' +