diff --git a/README.md b/README.md index cbeb8f0..32067cb 100644 --- a/README.md +++ b/README.md @@ -373,7 +373,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 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. */ }, } }