Added mute button and volume slider to text log
This commit is contained in:
parent
125e1e5edc
commit
c76c9f7268
5 changed files with 154 additions and 15 deletions
|
|
@ -548,10 +548,6 @@ func advance_vn(label = null) -> Array:
|
|||
video_stream.file = video_file
|
||||
var player: VideoStreamPlayer = $"../Video/VideoStreamPlayer"
|
||||
player.stream = video_stream
|
||||
#if can_play_music():
|
||||
# player.volume_db = -12.0 + FileGlobals.get_global_data("volume", 0.0)
|
||||
#else:
|
||||
# player.volume = 0
|
||||
player.volume = 0
|
||||
player.visible = true
|
||||
player.play()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue