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

Media display on web browser not supported for HEIC formats #1270

Open
mahalakshme opened this issue Jul 1, 2024 · 2 comments
Open

Media display on web browser not supported for HEIC formats #1270

mahalakshme opened this issue Jul 1, 2024 · 2 comments

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Jul 1, 2024

https://avni.freshdesk.com/a/tickets/4262

Issues:

env: prod, org: goonj

  • Lets take A-24114 in the ticket. All the 4 images associated with registration are present in s3 bucket

  • But they are not rendering in the DEA
    Image

  • Inspite of the card played to render actual images when thumbnails missing, actual images not rendering in media viewer. But able to download the actual images.

Image

  • Thumbnails for the images of A-24114 missing in thumbnails directory, though for subjects registered in a later date thumbnails are present

Root cause:

Because the images uploaded are of HEIF format. So for now Avni is not supporting these formats.

AC:

  • We are not retaining(code link) the image extension(.heic) on upload. Retain the extension such that in Media Viewer when the image of that type is downloaded user can know the format from the file extension.

Out of scope:

Because with the above AC we will know better what is displaying and what is not, after that we can do the below if needed.

  • We need to show the images are not displayed because of what reasons in DEA like in the image below. Error message to be shown is 'Since the image is in HEIC/HEIF format, it can't be displayed in the web app'.
  • Error message to be shown in media viewer: 'Since the image is in HEIC/HEIF format, it can't be displayed in the web app but can be downloaded'.
Screenshot 2024-08-14 at 5 18 44 PM - In mobile app, when someone uploads image of format HEIC/HEIF show the warning message 'Image of the uploaded format is not supported in web app. To fix it, disable 'High efficiency pictures' setting in mobile app'.
@mahalakshme mahalakshme converted this from a draft issue Jul 1, 2024
@shivansh84ya
Copy link

is this issue still active?

@mahalakshme
Copy link
Contributor Author

@shivansh84ya No, It is a known issue. We are not planning to fix it.

@mahalakshme mahalakshme moved this from In Analysis to Done in Avni Product Jul 22, 2024
@mahalakshme mahalakshme moved this from Done to In Analysis in Avni Product Jul 22, 2024
@mahalakshme mahalakshme changed the title Issues with media Media display on web browser not supported for HEIC formats Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Analysis
Development

No branches or pull requests

2 participants