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',
|
'gdrive-youtube.coffee',
|
||||||
'hls.coffee',
|
'hls.coffee',
|
||||||
'mixer.coffee',
|
'mixer.coffee',
|
||||||
|
'twitchclip.coffee',
|
||||||
'update.coffee'
|
'update.coffee'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -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.67.1",
|
"version": "3.67.2",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "http://github.com/calzoneman/sync"
|
"url": "http://github.com/calzoneman/sync"
|
||||||
},
|
},
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
"@babel/env",
|
"@babel/env",
|
||||||
{
|
{
|
||||||
"targets": {
|
"targets": {
|
||||||
"node": "8"
|
"node": "10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -18,7 +18,7 @@ TYPE_MAP =
|
||||||
vm: VideoJSPlayer
|
vm: VideoJSPlayer
|
||||||
hl: HLSPlayer
|
hl: HLSPlayer
|
||||||
sb: StreamablePlayer
|
sb: StreamablePlayer
|
||||||
tc: VideoJSPlayer
|
tc: TwitchClipPlayer
|
||||||
cm: VideoJSPlayer
|
cm: VideoJSPlayer
|
||||||
mx: MixerPlayer
|
mx: MixerPlayer
|
||||||
|
|
||||||
|
|
|
@ -46,8 +46,11 @@ Media.prototype = {
|
||||||
/*
|
/*
|
||||||
* 2018-03-05: Remove GDrive metadata from saved playlists to save
|
* 2018-03-05: Remove GDrive metadata from saved playlists to save
|
||||||
* space since this is no longer used.
|
* 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;
|
result.meta.direct = this.meta.direct;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue