bigbluebutton / bbb-playback

GNU Lesser General Public License v3.0
29 stars 40 forks source link

Chrome timesout to render the image shows a placeholder #134

Open GhaziTriki opened 3 years ago

GhaziTriki commented 3 years ago

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 commented 3 years ago

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 https://github.com/bigbluebutton/bbb-playback/blob/600724b300bbef1c213f9524d634e7c911918e78/src/components/presentation/slide/index.js#L29-L35