[Fix #89] Add caption to Video params.
parent
9f98d19464
commit
e4602014c7
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue