Skip to content

Commit

Permalink
restore loading spinner to videos
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenrats committed Nov 12, 2023
1 parent fade06a commit e975d8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/manager/ViewCreator.bs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ end sub

' Play Video
sub CreateVideoPlayerView()
m.scene = m.top.getScene()
startMediaLoadingSpinner()
m.playbackData = {}
m.selectedSubtitle = {}

Expand Down Expand Up @@ -149,6 +151,7 @@ end sub

' Playback state change event handlers
sub onStateChange()
stopLoadingSpinner()
if LCase(m.view.state) = "finished"
' Close any open dialogs
if m.global.sceneManager.callFunc("isDialogOpen")
Expand Down

0 comments on commit e975d8e

Please sign in to comment.