Bug fixes
This commit is contained in:
1 parent
3312bbc56e
commit
9e47d4d42e
3 files changed
+32
-7
No files matched your search
@@ -185,8 +185,18 @@ function OnVideoPlayerStateChange() as void
|
||||
end if
|
||||
|
||||
if state = "finished"
|
||||
if content = invalid
|
||||
m.container@.watchedVideosClear(invalid)
|
||||
VideoUtils.CloseVideo()
|
||||
end if
|
||||
|
||||
metadata = content.metadata
|
||||
if metadata <> invalid and not PlayNext(metadata.recommendedVideos)
|
||||
if metadata = invalid
|
||||
m.container@.watchedVideosClear(invalid)
|
||||
VideoUtils.CloseVideo()
|
||||
end if
|
||||
|
||||
if not PlayNext(metadata.recommendedVideos)
|
||||
m.container@.watchedVideosClear(invalid)
|
||||
VideoUtils.CloseVideo()
|
||||
end if
|
||||
|
||||
Reference in new issue
Block a user