浏览代码

Correction ES6 dailymotion_player

Romain Tiger 3 年之前
父节点
当前提交
d7fff4745c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tarteaucitron.services.js

+ 1 - 1
tarteaucitron.services.js

@@ -1083,7 +1083,7 @@ tarteaucitron.services.dailymotion = {
                 showinfo = tarteaucitron.getElemAttr(x, "showinfo"),
                 autoplay = tarteaucitron.getElemAttr(x, "autoplay"),
                 api = tarteaucitron.getElemAttr(x, "api"),
-                params = `info=${showinfo}&autoPlay=${autoplay}&api=${api}`;
+                params = 'info=' + showinfo + '&autoPlay=' + autoplay + '&api=' + api;
 
             if (video_id === undefined) {
                 return "";