mirror of https://github.com/calzoneman/sync.git
Replace twitch clip player (#842)
This commit is contained in:
parent
c809b1994a
commit
58e4e09840
|
@ -26,6 +26,7 @@ var order = [
|
|||
'gdrive-youtube.coffee',
|
||||
'hls.coffee',
|
||||
'mixer.coffee',
|
||||
'twitchclip.coffee',
|
||||
'update.coffee'
|
||||
];
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"author": "Calvin Montgomery",
|
||||
"name": "CyTube",
|
||||
"description": "Online media synchronizer and chat",
|
||||
"version": "3.67.1",
|
||||
"version": "3.67.2",
|
||||
"repository": {
|
||||
"url": "http://github.com/calzoneman/sync"
|
||||
},
|
||||
|
@ -72,7 +72,7 @@
|
|||
"@babel/env",
|
||||
{
|
||||
"targets": {
|
||||
"node": "8"
|
||||
"node": "10"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -18,7 +18,7 @@ TYPE_MAP =
|
|||
vm: VideoJSPlayer
|
||||
hl: HLSPlayer
|
||||
sb: StreamablePlayer
|
||||
tc: VideoJSPlayer
|
||||
tc: TwitchClipPlayer
|
||||
cm: VideoJSPlayer
|
||||
mx: MixerPlayer
|
||||
|
||||
|
|
|
@ -46,8 +46,11 @@ Media.prototype = {
|
|||
/*
|
||||
* 2018-03-05: Remove GDrive metadata from saved playlists to save
|
||||
* space since this is no longer used.
|
||||
*
|
||||
* 2020-01-26: Remove Twitch clip metadata since their API changed
|
||||
* and no longer uses direct links
|
||||
*/
|
||||
if (this.type !== "gd") {
|
||||
if (this.type !== "gd" && this.type !== "tc") {
|
||||
result.meta.direct = this.meta.direct;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue