Use same host for caption
This commit is contained in:
1 parent
215b4f4df2
commit
2c5942f569
1 file changed
+3
-1
@@ -1,3 +1,5 @@
|
||||
import "pkg:/source/services/Invidious.bs"
|
||||
|
||||
sub ShowVideoScreen(videoMetadata as object, videoSponsorBlock as object)
|
||||
m.videoPlayer = CreateObject("roSGNode", "Video")
|
||||
rowNode = CreateObject("roSGNode", "ContentNode")
|
||||
@@ -42,7 +44,7 @@ sub SetCaptions(videoMetadata as object, videoPlayer as object, contentNode as o
|
||||
|
||||
contentNode.SubtitleConfig = {
|
||||
ShowSubtitle: 1,
|
||||
TrackName: "https://invidious.esmailelbob.xyz" + selectedCaption.url
|
||||
TrackName: RokuYoutube.Services.Invidious.GetCurrentHost() + selectedCaption.url
|
||||
}
|
||||
end sub
|
||||
|
||||
|
||||
Reference in new issue
Block a user