Small bug fix
This commit is contained in:
1 parent
258726fadb
commit
665f76701d
2 files changed
+6
No files matched your search
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- An instance test to make sure thumbnails are reachable
|
||||
|
||||
### Fixed
|
||||
|
||||
- A rare error when video player is closed but does not have valid content
|
||||
|
||||
## [0.17.0] - 2023-11-17
|
||||
|
||||
### Added
|
||||
|
||||
@@ -188,12 +188,14 @@ function OnVideoPlayerStateChange() as void
|
||||
if content = invalid
|
||||
m.container@.watchedVideosClear(invalid)
|
||||
VideoUtils.CloseVideo()
|
||||
return
|
||||
end if
|
||||
|
||||
metadata = content.metadata
|
||||
if metadata = invalid
|
||||
m.container@.watchedVideosClear(invalid)
|
||||
VideoUtils.CloseVideo()
|
||||
return
|
||||
end if
|
||||
|
||||
if not PlayNext(metadata.recommendedVideos)
|
||||
|
||||
Reference in new issue
Block a user