When selecting video to upload, displaying the loaded (not yet uploaded) videos with for self.files.iter().map(Self::view_file) causes the web browser to display the same video multiple times.
I can fix it by adding .rev() after .iter() which reverses the iterator but this isn't a solution.
This bug can also be fixed by displaying an image between every videos
I think this bug is linked to how the web browser refreshes the video placements and fails to realise that the second (different) video isn't under the first one
Could this bug be fixed by adding delay ?
When selecting video to upload, displaying the loaded (not yet uploaded) videos with
for self.files.iter().map(Self::view_file)causes the web browser to display the same video multiple times.I can fix it by adding
.rev()after.iter()which reverses the iterator but this isn't a solution.This bug can also be fixed by displaying an image between every videos
I think this bug is linked to how the web browser refreshes the video placements and fails to realise that the second (different) video isn't under the first one
Could this bug be fixed by adding delay ?