Use embed src as url in playlist for custom embed

This commit is contained in:
Calvin Montgomery 2021-08-19 20:46:38 -07:00
parent 394f03ee1c
commit d563a85092
2 changed files with 3 additions and 1 deletions

View file

@ -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"
},

View file

@ -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 "#";
}