mirror of https://github.com/calzoneman/sync.git
Use embed src as url in playlist for custom embed
This commit is contained in:
parent
394f03ee1c
commit
d563a85092
|
@ -2,7 +2,7 @@
|
||||||
"author": "Calvin Montgomery",
|
"author": "Calvin Montgomery",
|
||||||
"name": "CyTube",
|
"name": "CyTube",
|
||||||
"description": "Online media synchronizer and chat",
|
"description": "Online media synchronizer and chat",
|
||||||
"version": "3.82.0",
|
"version": "3.82.1",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "http://github.com/calzoneman/sync"
|
"url": "http://github.com/calzoneman/sync"
|
||||||
},
|
},
|
||||||
|
|
|
@ -54,6 +54,8 @@ function formatURL(data) {
|
||||||
return "https://clips.twitch.tv/" + data.id;
|
return "https://clips.twitch.tv/" + data.id;
|
||||||
case "cm":
|
case "cm":
|
||||||
return data.id;
|
return data.id;
|
||||||
|
case "cu":
|
||||||
|
return data.meta.embed.src;
|
||||||
default:
|
default:
|
||||||
return "#";
|
return "#";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue