-
Notifications
You must be signed in to change notification settings - Fork 42
Description
This is my current slide definition in my base mode.
slides:
w_slide_base:
background_color: black
z: 1
widgets:
- widget: w_player_infobox_1
- widget: w_player_infobox_2
- widget: w_player_infobox_3
- widget: w_player_score
- widget: w_player_hint_message
- widget: w_player_status_message
- widget: w_base_video_loop
If all widgets are defined in the global config (not in the modes), then it works. If I try to define all of them in the global config and define the last one (w_base_video_loop) in the base config, I get an error.
Using this config:
**slides:
w_base:
background_color: black
z: 1
widgets:
- widget: w_player_infobox_1
- widget: w_player_infobox_2
- widget: w_player_infobox_3
- widget: w_player_score
- widget: w_player_hint_message
- widget: w_player_status_message
- widget: w_base_video_loop1
widgets:
w_base_video_loop1:
- type: video
video: base_video_loop_1
height: 810
width: 1440
anchor_x: right
anchor_y: top
x: right
y: top-96
z: 99
volume: 0
auto_play: true
end_behavior: loop
control_events:- event: mode_base_stopping
action: stop**
- event: mode_base_stopping
I get the following error:
ValueError: "w_widget_base_video_loop1" is not a valid widget name.