Merge pull request #90 from yanzay/master [Fix #89] Add caption to Video params.
Syfaro syfaro@foxpaw.in
Sun, 14 May 2017 16:28:23 -0500
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 }