diff --git a/scenes/menu.gd b/scenes/menu.gd index 51a773d..7bbed8c 100644 --- a/scenes/menu.gd +++ b/scenes/menu.gd @@ -34,6 +34,8 @@ func set_playstate(p): else: start_button.icon = _play_icon +func _ready(): + video_node.playback_state_changed.connect(set_playstate) func update_progress_bar(pos: float, duration: float): _progress = pos