-
Notifications
You must be signed in to change notification settings - Fork 53
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
feat: vod display #686
feat: vod display #686
Conversation
Hello, nice PR! I have only one comment. export const META_FILE_NAME = '.swarmgatewaymeta.json'
export const PREVIEW_FILE_NAME = '.swarmgatewaypreview' IIRC, Swarm Gateway and Bee Dashboard interops to some extent with the previews. I see the This may affect the Swarm Gateway preview functionality. It would be good to clarify the role of the two products and their interoperability, and also define if Just an FYI. |
Additional refactors to make type handling more general |
VOD display
Description
During file upload the user should see a preview about media related files that are html5 supported. Other files don't show any kind of preview.
Related Issues
https://solarpunk-test.atlassian.net/browse/SPDV-48
Changes Made
About the new feat
About the fix
How Has This Been Tested?
feat: I did manual tests. At the file uploader I tried out a couple of file types to see the previews.
fix: I checked the status of the uploaded files and the sync status. It should reach 100% after a certain amount of time.
Checklist
done - During file upload the user should see a preview about media related files that are html5 supported. Other files don't show any kind of preview.
done - In the Download tab, for the file preview show a video preview when the format is supported (Swarm hash > Find, or reached from the Download History).
done - Supported Image types:
'image/bmp', 'image/gif', 'image/vnd.microsoft.icon', 'image/jpeg', 'image/png', 'image/svg+xml', 'image/tiff', 'image/webp'
Screenshots (if applicable)
Preview feat:
![Screenshot 2025-01-09 at 12 05 25](https://private-user-images.githubusercontent.com/57348174/401518136-f779785d-e1c5-45ec-b207-4157620bb17e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTg4MzcsIm5iZiI6MTczOTU5ODUzNywicGF0aCI6Ii81NzM0ODE3NC80MDE1MTgxMzYtZjc3OTc4NWQtZTFjNS00NWVjLWIyMDctNDE1NzYyMGJiMTdlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA1NDg1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA0YTI4Njk2MzZiNjFhZjM4ZDRkODJkNWVlYmE5NjkxY2QxYWI4YmQ4NWRjNmUxYzI2YzdjYjVlMTFmZWU3NGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.E8P6JPnMWpLOa1jaAJiVMj_rhHYSlaXnpzbLbds2FYA)
Fix for sync:
![Screenshot 2025-01-09 at 12 18 43](https://private-user-images.githubusercontent.com/57348174/401517370-332bba85-74b4-4f42-8af0-dde6a2d133b9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTg4MzcsIm5iZiI6MTczOTU5ODUzNywicGF0aCI6Ii81NzM0ODE3NC80MDE1MTczNzAtMzMyYmJhODUtNzRiNC00ZjQyLThhZjAtZGRlNmEyZDEzM2I5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA1NDg1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUzNzhhODFlZDg3Yzc4ZjhhZTI0OGM3MzYwZGQ1ODQ0MTUxMDExYjlmMjcxMDhlZDY1ZTBlNGU2ZDZjZmI4N2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.t-eBlcEwRBrB7A37RVHjHCuc1MPvn2cE8l8UIVvkCj8)
Questions