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

Front end upload video display issue #1

Open
Bowarc opened this issue Jul 3, 2024 · 2 comments
Open

Front end upload video display issue #1

Bowarc opened this issue Jul 3, 2024 · 2 comments

Comments

@Bowarc
Copy link
Owner

Bowarc commented Jul 3, 2024

Original issue: hugolz#13

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 ?

@Bowarc
Copy link
Owner Author

Bowarc commented Jul 3, 2024

It's a dom issue, the html seems good but looking at the dom directly, it seems to have the same video 2 times

@Bowarc
Copy link
Owner Author

Bowarc commented Jul 3, 2024

Maybe fixable w/ custom noderef modification.
Else it's not that important, + .rev() 'fixes' it.
Once a simple interface is set up, preview will maybe not even be here

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