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

Chrome timesout to render the image shows a placeholder #134

Open
GhaziTriki opened this issue Sep 1, 2021 · 1 comment
Open

Chrome timesout to render the image shows a placeholder #134

GhaziTriki opened this issue Sep 1, 2021 · 1 comment

Comments

@GhaziTriki
Copy link
Member

Describe the bug
In a Chrome running inside a docker container using the playback player, the image is not rendered within a certain time; 2 seconds I guess; the rendering is stopped and a placeholder is displayed above.

To Reproduce
Steps to reproduce the behavior:

  1. Run the playback within a containerised browser with a heavy image, the recordings contains an 8bits image with 1600x1200 resolution.

Expected behavior
The browser should render the image till the end.

Screenshots
image

Additional context
If the image is loaded using JS the timeout should be configurable or we must check any CSS option preventing the render-in-time.

@pedrobmarin
Copy link
Collaborator

pedrobmarin commented Sep 1, 2021

Hmmm, that's a really particular use case, not sure if I can reproduce it.

We had a similar problem with Chrome a couple of months ago, tho. But regarding the polling annotations.
There was an update on Chrome (probably security related) that now block embedded images that miss to
inform it's mime type at the response header.

That can be the case here too... this is not a JS loaded image or anything like that. It's an SVG image tag

<image
height={height}
href={buildFileURL(recordId, src)}
x={0}
width={width}
y={0}
/>

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

2 participants