choose-video.md 802 字节
Newer Older
1
## uni.chooseVideo(options) @choosevideo
2 3 4

<!-- UTSAPIJSON.chooseVideo.description -->

D
DCloud_LXH 已提交
5 6
<!-- UTSAPIJSON.chooseVideo.compatibility -->

7 8 9 10 11 12
<!-- UTSAPIJSON.chooseVideo.param -->

<!-- UTSAPIJSON.chooseVideo.returnValue -->

<!-- UTSAPIJSON.chooseVideo.tutorial -->

D
DCloud_LXH 已提交
13
<!-- UTSAPIJSON.chooseVideo.example -->
14 15 16 17

<!-- UTSAPIJSON.general_type.name -->

<!-- UTSAPIJSON.general_type.param -->
18 19 20 21

## Tips
* 本API会自动申请摄像头和相册权限,如需手动获取app是否拥有摄像头和相册权限,参考 [uni.getAppAuthorizeSetting](get-app-authorize-setting.md)
* app端拍摄和相册选择会在应用沙盒目录的cache目录产生临时文件,位置[详见](file-system-spec.md#cache)
D
DCloud_LXH 已提交
22
* app端如需主动删除临时文件,使用[uni.getFileSystemManager](get-file-system-manager.md)