skip open video player if there's no data
This commit is contained in:
1 parent
e9b3a47867
commit
af44997471
1 file changed
+3
@@ -8,5 +8,8 @@ end sub
|
|||||||
|
|
||||||
sub OnVideoDetailsLoaded()
|
sub OnVideoDetailsLoaded()
|
||||||
m.loadingIndicator.visible = false
|
m.loadingIndicator.visible = false
|
||||||
|
if m.videoDetailsTask.content.metadata = invalid
|
||||||
|
return
|
||||||
|
end if
|
||||||
ShowVideoScreen(m.videoDetailsTask.content.metadata, m.videoDetailsTask.content.sponsorblock)
|
ShowVideoScreen(m.videoDetailsTask.content.metadata, m.videoDetailsTask.content.sponsorblock)
|
||||||
end sub
|
end sub
|
||||||
Reference in new issue
Block a user