[Fix #89] Add caption to Video params.
Alexey Grachov grachov.alexey@gmail.com
Sun, 14 May 2017 12:11:44 +0300
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
configs.go
→
configs.go
@@ -451,6 +451,10 @@ // params returns a map[string]string representation of VideoConfig.
func (config VideoConfig) params() (map[string]string, error) { params, _ := config.BaseFile.params() + if config.Caption != "" { + params["caption"] = config.Caption + } + return params, nil }