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",
|
||||
"name": "CyTube",
|
||||
"description": "Online media synchronizer and chat",
|
||||
"version": "3.82.0",
|
||||
"version": "3.82.1",
|
||||
"repository": {
|
||||
"url": "http://github.com/calzoneman/sync"
|
||||
},
|
||||
|
|
|
@ -54,6 +54,8 @@ function formatURL(data) {
|
|||
return "https://clips.twitch.tv/" + data.id;
|
||||
case "cm":
|
||||
return data.id;
|
||||
case "cu":
|
||||
return data.meta.embed.src;
|
||||
default:
|
||||
return "#";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue