Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

界面上选择完视频 点击视频进行预览 视频不会播放 #710

Closed
ghost opened this issue Apr 6, 2022 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Apr 6, 2022

Issue Description

Description and Steps

Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.

Info

ZLPhotoBrowser version: e.g. 4.2.5
Device: e.g. iPhone X
Device version: e.g. iOS 14.0
Xcode version: e.g. Xcode 12.0

Configuration code of ZLPhotoConfiguration

ZLPhotoPreviewSheet(selectedAssets: assets).previewAssets(sender: self, assets: self.assets, index: indexPath.row, isOriginal: self.isOriginal) 
@ghost
Copy link
Author

ghost commented Apr 6, 2022

config.editImageConfiguration = editImageConfiguration
        config.allowSelectImage = true
        config.allowSelectVideo = images.count == 0
        config.allowSelectGif = false
        config.allowSelectLivePhoto = false
        config.allowSelectOriginal = false
        config.cropVideoAfterSelectThumbnail = true
        config.editAfterSelectThumbnailImage = true
        config.allowEditVideo = true
        config.allowMixSelect = false
//        config.maxSelectCount = 9 - images.count
        config.maxSelectCount = 9
        config.maxEditVideoTime = 15
        config.minSelectVideoDuration = 3
        config.maxSelectVideoDuration = 120
        config.maxEditVideoTime = 60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant