IOS input file acquires the length of uploaded video

you need to upload videos locally within 20 seconds. You can now use video and createObjectURL to achieve this in pc, but not in Wechat of IOS, because video will not load videos or trigger the onloadeddata event of video after adding src. Is there any way to obtain the length of videos in IOS?

Mar.07,2021

excuse me, have you solved it? Also encounter this problem

Menu