mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-22 15:00:35 -04:00
Updating to the new subtitle route
This commit is contained in:
parent
ede2c9a234
commit
334d79bb74
@ -607,7 +607,7 @@ export class PlayerComponent implements OnInit
|
|||||||
this.removeHtmlTrack();
|
this.removeHtmlTrack();
|
||||||
|
|
||||||
if (subtitle.codec == "ass")
|
if (subtitle.codec == "ass")
|
||||||
SubtitleManager.add(this.player, subtitle.slug, true);
|
SubtitleManager.add(this.player, `subtitle/${subtitle.slug}`, true);
|
||||||
|
|
||||||
else if (subtitle.codec == "subrip")
|
else if (subtitle.codec == "subrip")
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user