Meteor 使用afquickfield上传视频

Meteor 使用afquickfield上传视频,meteor,meteor-autoform,Meteor,Meteor Autoform,你好,我想知道有没有办法用afqucikfield上传视频。我已经这样做了。它适用于图像,但不适用于视频 {{#if afFieldValueIs name='articleType' value='video' }} <!-- <p>hello</p> --> <!-- <input type="button" value="videoId"> --&g

你好,我想知道有没有办法用afqucikfield上传视频。我已经这样做了。它适用于图像,但不适用于视频

{{#if afFieldValueIs name='articleType' value='video' }}
                      <!-- <p>hello</p> -->
                      <!-- <input type="button" value="videoId"> -->
                      {{> afQuickField name="videoId"}}
                  {{/if}}
{{#如果afFieldValueIs name='articleType'value='video'}
{{>afQuickField name=“videoId”}
{{/if}
有人能告诉我我做错了什么,我该如何上传视频吗。谢谢

更新


我将所有文件都存储在S3上,我发现我做错了什么。我正在使用FS collection,我只允许它用于图像。我需要做的是允许视频像这样

Videos = new FS.Collection("videos", {
  stores: [imageStore],
  filter: {
    allow: {
      contentTypes: ['video/*'] //allow only video in this FS.Collection
    }
  }
});
这可能有用