Updating to the new subtitle route

This commit is contained in:
Zoe Roux 2020-08-07 18:38:05 +02:00
parent ede2c9a234
commit 334d79bb74

View File

@ -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")
{ {