thiagopnts / kaleidoscope

:crystal_ball: An embeddable, lightweight 360º video/image viewer
http://thiago.me/kaleidoscope/
Apache License 2.0
349 stars 54 forks source link

Black flickering when resizing window on iOS and Safari #20

Open thiagopnts opened 7 years ago

thiagopnts commented 7 years ago

it happens for both images and video. examples: https://thiago.me/kaleidoscope/examples/image https://thiago.me/kaleidoscope/examples/mp4 https://threejs.org/examples/webgl_panorama_equirectangular.html

dsalomao commented 6 years ago

Hey Thiago, wassup mate? Congrats on the awesome work. I have a problem using the plugin on iphones that might be related to this bug. The first 360 image i render() in my page works fine, but i also have a galery at the bottom of my page so that i can select the image i want to be rendered. When i change the source and rerender the image i get that black screen like in these above examples. Do you have any suggestions? thank you.

thiagopnts commented 6 years ago

Hey, thanks. Do you have a link/code I can look? How are you changing the source? I never did this with images, but for multiple videos we usually destroy() the current viewer and create a new one when going from video to video