From 0e26e80852af6f3f4008324eb8cac793d881b224 Mon Sep 17 00:00:00 2001 From: didikunz Date: Fri, 28 Oct 2022 10:30:03 +0200 Subject: [PATCH 1/2] Added alpha to color --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f11767a..78dc39d 100644 --- a/README.md +++ b/README.md @@ -370,7 +370,7 @@ Let's the user pick a color. } ``` -The value is stored as a string on the form "#RRGGBB", eg `"#61138e"`. +The value is stored as a string on the form "#RRGGBB", eg `"#61138e"`. An optional alpha part could be added, like #AARRGGBB. This is seldom used, but make sense to be supported. ### Percentage From 60d828a339bec5cdf7c52c832abf68fdcbb1d9f1 Mon Sep 17 00:00:00 2001 From: didikunz Date: Fri, 28 Oct 2022 10:46:21 +0200 Subject: [PATCH 2/2] Added commands to gddPlayoutOptions --- doc/appendix/playout-options.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/appendix/playout-options.md b/doc/appendix/playout-options.md index 9031607..728465c 100644 --- a/doc/appendix/playout-options.md +++ b/doc/appendix/playout-options.md @@ -41,6 +41,11 @@ _Note: All of the properties inside of `gddPlayoutOptions` are optional._ /** The default / suggested layer to play on */ "layer"?: number + /** A list of the commands supported by the template, can be displayed as buttons */ + "commands": ["play", "next", "stop", "update", "(custom invokes)"] + /** A template should support "play" and "stop" as a minimum. Some templates are not meant to be updated when already */ + /** played, so they shall not support "update". Some templates support invoke comands like "show", "hide", "showOvertime" */ + /** or anything else. These commands can be used to render (or enable/disable) buttons in the UI. */ }, } }