add meta data to video player
This commit is contained in:
1 parent
651bb54dee
commit
adfcfabad1
2 files changed
+3
No files matched your search
@@ -127,6 +127,8 @@ function StartVideoDetailsTask(videoId as string)
|
||||
contentNode = CreateObject("roSGNode", "ContentNode")
|
||||
contentNode.addFields({ videoId: videoId, itag: stream.itag })
|
||||
contentNode.url = stream.url
|
||||
contentNode.title = metadata.title
|
||||
contentNode.secondaryTitle = metadata.author
|
||||
SetCaptions(metadata, m.videoPlayer, contentNode)
|
||||
m.videoPlayer.content = contentNode
|
||||
m.videoPlayer.control = "play"
|
||||
|
||||
Reference in new issue
Block a user