diff --git a/configs.go b/configs.go index cad9725..132ea9d 100644 --- a/configs.go +++ b/configs.go @@ -451,6 +451,10 @@ func (config VideoConfig) values() (url.Values, error) { func (config VideoConfig) params() (map[string]string, error) { params, _ := config.BaseFile.params() + if config.Caption != "" { + params["caption"] = config.Caption + } + return params, nil }