diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a69ed78..a031c12e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Play video API - Play video by ID/URL in web app +- Metadata to Video Player ### Fixed - Bug where Settings page and home page are both visible, if settings page is selected, and user logs in. diff --git a/src/components/VideoPlayer/Video.bs b/src/components/VideoPlayer/Video.bs index b3d93697..75e7d41c 100644 --- a/src/components/VideoPlayer/Video.bs +++ b/src/components/VideoPlayer/Video.bs @@ -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"